Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed how the template is rendered for proper safe strings
- Loading branch information
Timmy O'Mahony
committed
Mar 13, 2014
1 parent
60eeac7
commit 54af255
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<div class="wmd-wrapper" id="{{ id }}-wmd-wrapper"> | ||
<div class="wmd-panel"> | ||
<div id="{{ id }}_wmd_button_bar"></div> | ||
<textarea{{ attrs }}>{{ body }}</textarea> | ||
<div id="{{ id|safe }}_wmd_button_bar"></div> | ||
<textarea{{ attrs|safe }}>{{ body }}</textarea> | ||
</div> | ||
{% if show_preview %} | ||
<div id="{{ id }}_wmd_preview" class="wmd-panel wmd-preview"></div> | ||
<div id="{{ id|safe }}_wmd_preview" class="wmd-panel wmd-preview"></div> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters