Summary:
{$one.data|htmlspecialchars} results in all none alphanumeric characters turning into html entities that print as &33; etc.
Detailed Description:
Whenever a character such as an exclamation point or ampersand sign or anything
that has an html entity equivalent is entered into the form, the character is
turned into the html entity and it prints to screen as such. The fix that is
here:
http://forum.cmsmadesimple.org/viewtopic.php?f=7&t=53922&p=255867&hilit={%24one.data+htmlspecialchars}#p255867
In the summary form, replace
Code:
{$one.data|htmlspecialchars}
with
Code:
{$one.data|html_entity_decode:$smarty.const.ENT_QUOTES|nl2br}
The nl2br was required to fix the issue I found of line-breaks not being
displayed.
In the comment form template, replace
Code:
{input_comment}
with
Code:
{$input_comment|html_entity_decode:$smarty.const.ENT_QUOTES}
This latter change is necessary because if the comment submission fails (due to
invalid fields, failed CAPTCHA, etc), the comment will be encoded in the textbox
and then re-encoded again during any subsequent submission, which means you
can't correctly decode it in the summary template.