All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
- Added support for multiline comments.
minify-hiccup
now doesn't alter the content of[:code ...]
blocks in addition to the[:pre ...]
blocks.
- Improved the grammar w.r.t. the spaces, based on https://html.spec.whatwg.org/multipage/syntax.html.
- Improved the grammar w.r.t. the whitespaces.
- Added support for single-quoted attribute values.
- Made the
html->hiccup
function not usingedn/read-string
anymore. It's a change of behavior as the text now stays raw, unescaped.
- Removed any potential chances at having the grammar ambiguous. It also simplifies the parsing by Instaparse and probably makes it more efficient.
- Made the implementation of
minify-hiccup
very explicit and easier to clone and modify for people who will need it. - Improved the tests.
- Made
taipei-404.html/minify-hiccup
more robust. - Fixed the
requires
to work in Clojurescript.
- Added the function
taipei-404.html/minify-hiccup
. - Added more tests.
- Fixed #1, a bug where the unquoted attribute values were erroneously parsed via
edn/read-string
. - Fixed grammar: tag names can be ended using a tab.
- Added an option to keep the html comments found in the html.
- Initial commit, with improvements compared to the twitted version.