Skip to content

Commit

Permalink
experimental fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Sep 23, 2016
1 parent 2c4dee0 commit 20df366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.moon
Expand Up @@ -89,7 +89,7 @@ class extends lapis.Application
--TODO some sort of back button that returns to the correct page in blog_index
h2 title: post.pubdate, time_ago_in_words post.pubdate
div id: "post_text"
script -> raw "document.getElementById('post_text').innerHTML = marked('#{post.text\gsub("'", "\\'")\gsub("\n", "\\n")\gsub("\r", "")\gsub("</script>", "</'+'script>")}');"
script -> raw "document.getElementById('post_text').innerHTML = marked('#{post.text\gsub("\n", "\\n")\gsub("\r", "")\gsub("</script>", "</'+'script>")\gsub("'", "\\'")}');"
hr!
div id: "disqus_thread"
script -> raw "
Expand Down

0 comments on commit 20df366

Please sign in to comment.