Login  Register

Re: Forums stripping out double-dashes?

Posted by Pedro on Aug 26, 2014; 1:28pm
URL: https://support.nabble.com/Forums-stripping-out-double-dashes-tp7591045p7591157.html

The double-dashe

The double-dashes stripping (actually it was to fix the repetition of the footer) was made on this request:
http://support.nabble.com/footer-stripping-tp7590744.html
As you have noted, the regular expression was on the message_as_html macro. On that macro we can't separate the footer from the message.
Please, get back your former regular expression, it is working in my forum:
    <n.set_var. name="footer_ptn">
        <![CDATA[(list\s+address:\s+sm@simplelists\.com(\s|<br/?>|--)*)|(list archive:.*/sm</a>(\s|<br/?>|--)*)|(subscribe, unsubscribe:.*/sm</a>(\s|<br/?>|--)*)]]>        
    </n.set_var.>
My test forum.