Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16

html-snippet

net.cgrand.enlive-html

  • (html-snippet & values)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:607 top

(defn html-snippet [& values]
 "Concatenate values as a string and then parse it with tagsoup.
  html-snippet doesn't insert missing  or  tags."
  (-> (apply str "" values) 
    java.io.StringReader. html-resource first :content))
Vars in net.cgrand.enlive-html/html-snippet: -> apply defn first str
Used in 0 other vars

Comments top

No comments for html-snippet. Log in to add a comment.