Browse Source

No quote unescaping

pull/2/head
Noah Petherbridge 4 years ago
parent
commit
76c58e5b19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rophako/modules/photo/templates/photos/view.html

+ 1
- 1
rophako/modules/photo/templates/photos/view.html View File

@@ -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