Skip to content

1.3.0

Compare
Choose a tag to compare
@curbengh curbengh released this 23 Sep 03:12
· 274 commits to master since this release
486f4a0

Breaking change

  • fix(html_tag): escape html and encode url by default #93
    • insert false to the 4th argument to disable escape
    • e.g. htmlTag('a', {href: 'http://foo.com/'}, '<b>bold</b>', false)

Feature

  • feat: decodeURL() #97

Fix

  • fix(encodeURL): encode path once only #92
  • fix(html_tag): encode url value of url-related attributes and skip escape/encode <style> #96
  • fix(html_tag): encode url() in style tag #101