fix bad escaping of html entities

This commit is contained in:
real_nowhereman 2009-02-26 18:25:47 +00:00
parent 6b133960ed
commit b9fedf7841
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
{toolbar} {toolbar}
<p> <p>
<textarea name="content" {$error.content|notempty:'class="field-error"'} <textarea name="content" {$error.content|notempty:'class="field-error"'}
id="content" rows="20" cols="74">{$content|default:$smarty.request.content}</textarea><br /> id="content" rows="20" cols="74">{$content|default:$smarty.request.content|htmlspecialchars}</textarea><br />
{*here will go a plugin hook*} {*here will go a plugin hook*}
{action hook=simple_edit_form} {action hook=simple_edit_form}

View File

@ -30,7 +30,7 @@
{toolbar} {toolbar}
<p> <p>
<textarea name="content" {$error.content|notempty:'class="field-error"'} id="content" <textarea name="content" {$error.content|notempty:'class="field-error"'} id="content"
rows="20" cols="74">{$content|default:$smarty.request.content}</textarea><br /> rows="20" cols="74">{$content|default:$smarty.request.content|htmlspecialchars}</textarea><br />
{*here will go a plugin hook*} {*here will go a plugin hook*}
</p> </p>