Skip to content

Commit

Permalink
Unescape form render calls in render_editor
Browse files Browse the repository at this point in the history
  • Loading branch information
DasIch authored and mitsuhiko committed Aug 17, 2010
1 parent 9b7e8d4 commit 5a82220
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions solace/templates/kb/_editor.html
Expand Up @@ -4,20 +4,20 @@
<div class="editor">
{%- if form.title %}
<div class="title">
<div class="help">{{ form.title.help_text|e }}</div>
<div class="input">{{ form.title() }}</div>
<div class="help">{{ form.title.help_text }}</div>
<div class="input">{% autoescape false %}{{ form.title() }}{% endautoescape %}</div>
</div>
{%- endif %}
<div class="text">
{%- if form.text.help_text %}
<div class="help">{{ form.text.help_text|e }}</div>
<div class="help">{{ form.text.help_text }}</div>
{%- endif %}
<div class="input">{{ form.text() }}</div>
<div class="input">{% autoescape false %}{{ form.text() }}{% endautoescape %}</div>
</div>
</div>
{%- if form.tags %}
<div class="tags">
{{ _('Tags') }}: {{ form.tags(size=30) }} <span class="help">{{ _('(use commas to separate tags)') }}</span>
{{ _('Tags') }}: {% autoescape false %}{{ form.tags(size=30) }}{% endautoescape %} <span class="help">{{ _('(use commas to separate tags)') }}</span>
</div>
{%- endif %}
<div class="submit">
Expand Down

0 comments on commit 5a82220

Please sign in to comment.