Skip to content

Commit

Permalink
attempting backslash fix #84
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Sep 23, 2016
1 parent f74fc6e commit c11afdd
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("'", "\\'")\gsub("\n", "\\n")\gsub("\r", "")\gsub("</script>", "</'+'script>")}');"
script -> raw "document.getElementById('post_text').innerHTML = marked('#{post.text\gsub("\\", "\\\\\\\\")\gsub("'", "\\'")\gsub("\n", "\\n")\gsub("\r", "")\gsub("</script>", "</'+'script>")}');"
hr!
div id: "disqus_thread"
script -> raw "
Expand Down

0 comments on commit c11afdd

Please sign in to comment.