Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 812 Bytes

CHANGELOG.md

File metadata and controls

45 lines (24 loc) · 812 Bytes

0.4.3

  • Allow arbitrary attributes for a tags but only keep href and title attributes.

0.4.2

  • Allow image and link urls starting with //

0.4.1

  • Allow arbitrary attributes for image tags but only keep src, alt and title attributes.

0.4.0

  • Update markdown-it to 5.0.0

0.3.2

  • Added option imageClass

0.3.1

  • Remove url-regex dependency
  • Fix sanitizer freeze #3

0.3.0

  • Use markdown-it 4

0.2.2

  • Only run balance for HTML input

0.2.1

  • Refactor sanitizer, should be now one of the last rules

0.2.0

  • Added options for removing or escaping unbalanced/unknown tags
  • Check url for allowed protocolls: http and https for images, http, https, ftp, mailto and xmpp for links

0.1.0

  • Initial release