Skip to content

Instantly share code, notes, and snippets.

@AlexBaranosky
Created January 16, 2015 18:15
Show Gist options
  • Save AlexBaranosky/f34a9988990b64186512 to your computer and use it in GitHub Desktop.
Save AlexBaranosky/f34a9988990b64186512 to your computer and use it in GitHub Desktop.
html escaping question for Kioo
(def text "<p>&lt;maybe&gt;. This is new. ' !@#$%^&amp;*(){}/=?+[]’</p>")
(html-content text)
;; desired output on UI:
;; <maybe>. This is new. ' !@#$%^&*(){}/=?+[]’
;; actual output on UI:
;; &lt;maybe&gt;. This is new. &#39; !@#$%^&amp;*(){}/=?+[]’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment