Browse Source

No quote unescaping

pull/2/head
Noah Petherbridge 7 years ago
parent
commit
76c58e5b19
  1. 2
      rophako/modules/photo/templates/photos/view.html

2
rophako/modules/photo/templates/photos/view.html

@ -37,7 +37,7 @@
{% if session["login"] %}
<p>Embed this image in a blog post:<br>
<input type="text" class="form-control" readonly value="![{{ photo['caption'] }}]({{ app['photo_url'] }}/{{ photo['large'] }})"> (Markdown)<br>
<input type="text" class="form-control" readonly value='<a href="{{ app['photo_url'] }}/{{ photo['large'] }}\" alt=\"{{ photo['caption'] }}">'> (HTML)
<input type="text" class="form-control" readonly value='<a href="{{ app['photo_url'] }}/{{ photo['large'] }}" alt="{{ photo['caption'] }}">'> (HTML)
{% endif %}
{{ nav_links() }}

Loading…
Cancel
Save