/ Published in: Clojure
Function strips HTML tags from string.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(import '[org.jsoup Jsoup]) (defn strip-html-tags "Function strips HTML tags from string." [s] (.text (Jsoup/parse s)))