Skip to content

Releases: tdewolff/parse

v2.3.12

25 Nov 18:16
Compare
Choose a tag to compare

Revert v2.3.11 and readd html.Keygen hash.

v2.3.11

21 Nov 17:29
Compare
Choose a tag to compare

Add ReplaceEntities and remove entity replacement from EscapeAttrVal

v2.3.10

20 Nov 16:15
Compare
Choose a tag to compare

Add and remove hashes for CSS and HTML

v2.3.9

22 Aug 18:19
Compare
Choose a tag to compare

CSS: keep whitespace in unknown at rules

v2.3.8

16 Jul 19:05
4f9e5a2
Compare
Choose a tag to compare
  • Remove import comments
  • Fix bug in CSS parsing when encountering } in CSS inline

v2.3.7

17 May 15:56
Compare
Choose a tag to compare
  • Fix position information on errors
  • CSS: fix error position

v2.3.6

18 Apr 20:34
Compare
Choose a tag to compare
  • Prevent panic when returning Bytes() on empty buffer
  • Set proper context in errors
  • Limit the length in context in errors
  • In EqualFold only match upper/lower case on alphabet characters
  • Add option to EscapeAttrVal to handle attribute values for XML (use double quotes)
  • HTML: add hashes for RDFa attribute names
  • JS: accept NULL characters as code
  • JSON: report errors NULL characters

Go modules support

06 Nov 03:05
Compare
Choose a tag to compare

Add Go modules support by using the github.com/tdewolff/parse/v2 import path.

Fix CSS parsing of bad declarations

07 Nov 21:33
Compare
Choose a tag to compare
  • CSS: fix parsing of bad declarations
  • CSS: handle comments within declarations
  • CSS: reintroduce IE star hack *color: white
  • CSS: add keywords to hash table

Release for minify-v2.3.5

11 Jun 21:23
Compare
Choose a tag to compare
v2.3.3

Add flex