aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorJef van Schendel <mail@jefvanschendel.nl>2012-01-04 17:48:16 +0100
committerJef van Schendel <mail@jefvanschendel.nl>2012-01-04 17:48:16 +0100
commit9c196287ad26f52acb38d6c37560848da23151a6 (patch)
tree780bc61630e476116d469a2d6437df497e497420 /mediagoblin/templates
parent8545cfc97d9336b100881bd3ebafd4a5f4882dd3 (diff)
downloadmediagoblin-9c196287ad26f52acb38d6c37560848da23151a6.tar.lz
mediagoblin-9c196287ad26f52acb38d6c37560848da23151a6.tar.xz
mediagoblin-9c196287ad26f52acb38d6c37560848da23151a6.zip
Add Markdown for submit page, edit page, profile edit page; thus fixing ticket #690
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html2
-rw-r--r--mediagoblin/templates/mediagoblin/utils/wtforms.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index d52f544f..9b331789 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -96,7 +96,7 @@
user= media.get_uploader.username,
media=media._id) }}" method="POST" id="form_comment">
<p>
- {% trans %}Type your comment here. You can use <a href="http://daringfireball.net/projects/markdown/basics" target="_blank">Markdown</a> for formatting.{% endtrans %}
+ {% trans %}Type your comment here. You can use <a href="http://daringfireball.net/projects/markdown/basics">Markdown</a> for formatting.{% endtrans %}
</p>
{{ wtforms_util.render_divs(comment_form) }}
<div class="form_submit_buttons">
diff --git a/mediagoblin/templates/mediagoblin/utils/wtforms.html b/mediagoblin/templates/mediagoblin/utils/wtforms.html
index cc30388f..3517b5c3 100644
--- a/mediagoblin/templates/mediagoblin/utils/wtforms.html
+++ b/mediagoblin/templates/mediagoblin/utils/wtforms.html
@@ -29,7 +29,7 @@
{% endfor %}
{%- endif %}
{% if field.description -%}
- <p class="form_field_description">{{ _(field.description) }}</p>
+ <p class="form_field_description">{{ _(field.description)|safe }}</p>
{%- endif %}
</div>
{%- endmacro %}