Skip to content

v2.2.1

Compare
Choose a tag to compare
@mde mde released this 20 Jan 06:09
  • 4x faster HTML escaping function, especially beneficial if you use lots of escaped locals (@TimothyGu)
  • Up to 4x faster compiled functions in addition to above (@TimothyGu)
  • Fix // in an expanded string (@TimothyGu)
  • Fix literal mode without an end tag (@TimothyGu)
  • Fix setting options to renderFile() through the legacy 3-argument interface (as is the case for Express.js) (@TimothyGu)
  • Added version string to exported object for use in browsers (@mde)