Releases: caboodle-tech/highlight-js-lite
Releases · caboodle-tech/highlight-js-lite
v2.2.0
- The
buildTable
method in the web worker was breaking any highlights that spanned multiple lines, like multiline comments, as it placed the output into separate rows. Corrected this bug by tracking orphaned highlighting spans and correctly opening, closing, and adding them on the proper lines. - Improved how code blocks are lazy loaded and watched to reduce edge cases where blocks are marked as processed but never actually processed; especially on mobile devices.
- Improved the clipboard placement.
v2.1.0
- Corrected HTML entity encoding and decoding issues allowing Highlight.js to correctly read more languages as valid (legal).
- Added language helpers for commonly broken languages like
css
,html
, andini
. - Related to the previous point, we removed our custom HTML highlighter since Highight.js could now correctly highlight HTML with either
Django
orxml
. - Made the
copyToClipboard
method private now.
v2.0.3
Fixed several minor bugs that affected how padding was working.
v2.0.0
Complete rewrite of HLJSL that simplifies everything from development to deployment:
- Web worker is more efficient and runs faster with new optimizations.
- Files required for the user to include has been reduced.
- The process of contributing and developing HLJS for your own needs has been simplified.
See changes in action on the HLJSL website.