retrogradeorbit / bootleg

Simple template processing command line tool to help build static websites
Eclipse Public License 2.0
255 stars 12 forks source link

missing warning on lost form when html is converted to hiccup #53

Closed retrogradeorbit closed 4 years ago

retrogradeorbit commented 4 years ago
$ bootleg -d -e '(convert-to "<p>1</p><p>2</p>" :hiccup)'
[:p {} "2"]

Should print the warning about the lost first form

retrogradeorbit commented 4 years ago

possibly auto-cull empty trailing lines on html input?

retrogradeorbit commented 4 years ago
$ bootleg -d -e '(convert-to "<p>1</p><p>2</p>" :hiccup)'
Warning: converting markup from :html to :hiccup lost 1 form
[:p "2"]