Unverified Commit d0e3c3e7 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1363 from ikedas/ldidry/fix-1312-anonymised-archive-search by ldidry & ikedas

Protect email addresses in archive search (#1312)
parents 7793e7cf 8590b479
......@@ -67,18 +67,28 @@
</em>
</dt>
<dd>
[%|obfuscate(listconf.web_archive_spam_protection) ~%]
[%~ FOREACH r = u.rich.from ~%]
[% IF r.format == 'b' %]<b>[% r.text %]</b>
[%~ ELSIF r.format == 'br' %]<br />
[%~ ELSE%][% r.text %][%END ~%]
[% IF r.format == 'b' ~%]
<b>[% r.text %]</b>
[%~ ELSIF r.format == 'br' ~%]
<br />
[%~ ELSE ~%]
[% r.text %]
[%~ END ~%]
[%END ~%]
<pre>
[%~ FOREACH r = u.rich.body_string ~%]
[% IF r.format == 'b' %]<b>[% r.text %]</b>
[%~ ELSIF r.format == 'br' %]<br />
[%~ ELSE%][% r.text %][%END ~%]
[% IF r.format == 'b' ~%]
<b>[% r.text %]</b>
[%~ ELSIF r.format == 'br' ~%]
<br />
[%~ ELSE ~%]
[% r.text %]
[%~ END ~%]
[%END ~%]
</pre>
[%~ END %]
</dd>
[% END %]
</dl>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment