weavejester / hiccup

Fast library for rendering HTML in Clojure
http://weavejester.github.io/hiccup
Eclipse Public License 1.0
2.68k stars 174 forks source link

Implemented midje-readme, and fixed readme #104

Closed boxed closed 10 years ago

boxed commented 10 years ago

This PR implements automatic testing of the readme with midje via midje-readme. It also fixes the error in the documentation where it claimed [:p] would render as <p /> which hiccup doesn't do. I changed it to [:br] which does do what the text describes.

weavejester commented 10 years ago

Fixing the README is good, but I don't think testing the README is hugely necessary. It does prevent typos from creeping into the examples, but given this is a fairly rare and easily fixable eventuality, constraining the README to syntax readable by midje-readme seems a little overkill.