lightning-js / blits

The Lightning 3 App Development Framework
https://blits-demo.lightningjs.io/
Apache License 2.0
64 stars 12 forks source link

fixed single quote escaping for all browsers #38

Closed uguraslan closed 8 months ago

uguraslan commented 8 months ago

This solution should work in all browsers including older versions of Safari which do not support negative lookahead in regular expressions.

This version also fixes some problems of the previous implementation like handling such cases:

<Element content="Let\\\\'s play" />