Robin Malfait a4d1bdb7fa
Fix angle brackets in content (#5585)
* move to real regexes

These regexes are only calculated once so we don't really have a
performance penalty here. However, it's a bit nicer to do it this way
because now you don't have to think about the proper escapes.

/.*/.source will basically take the source of the regex ".*" without
flags and converts it to a string with the proper escapes for you.

Fun fact, this `.source` property has been supported since Chrome,
Firefox and Safari version 1.

* allow for `'>'` in `content-['>']`
2021-09-24 15:22:23 +02:00
..
2021-09-01 17:13:59 +02:00
2021-09-10 09:34:27 -04:00
2021-09-16 14:47:41 +02:00
2021-09-21 12:43:44 -04:00
2021-09-21 12:37:49 -04:00
2021-09-06 14:15:10 -04:00