diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-03 19:00:11 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-03 19:00:11 -0700 |
commit | 526ee41b187a2373c08679bc9bc582679beaa9ef (patch) | |
tree | f723352512c3ef1eeae295d47213b7bdae1a8a4f /python/fatcat_web/templates | |
parent | 29645fd07086d0b10c8a645d204487f1d2b6b03e (diff) | |
download | fatcat-526ee41b187a2373c08679bc9bc582679beaa9ef.tar.gz fatcat-526ee41b187a2373c08679bc9bc582679beaa9ef.zip |
markdown rendering of comments/annotations
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r-- | python/fatcat_web/templates/editgroup_view.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/editgroup_view.html b/python/fatcat_web/templates/editgroup_view.html index 2f61671d..31f9026f 100644 --- a/python/fatcat_web/templates/editgroup_view.html +++ b/python/fatcat_web/templates/editgroup_view.html @@ -124,7 +124,7 @@ reviewable bundle. </div> {% endif %} <div class="ui bottom attached segment"> - {{ annotation.comment_markdown }} + {{ annotation.comment_markdown|markdown(escape=True) }} </div> </div> {% else %} @@ -139,6 +139,7 @@ reviewable bundle. <div class="field"> <textarea rows="2" name="comment_markdown" required type="text" value=""></textarea> </div> + <i>Markdown is allowed</i> <button class="ui right floated primary button"> <i class="icon edit"></i> Submit </button> |