Location on site: Global issue
Description of bug: Sometimes when using filters, text isn't highlighted as per selection.
Steps to reproduce: Navigate to Uniques, select filter group 'Skills', select the Barbarian 'Combat' filter.
Any further information: This is a known issue due to the way mark.js handles special characters parsed from HTML. It means that any filters in which the regex expression contains brackets - for example, Combat Skills (Barbarian Only) - will print an error in the console and fail to highlight relevant text when the filters are used. The error looks a bit like this:
Code: Select all
Error: Syntax error, unrecognized expression: Combat skills (Barbarian only)
Teebling
7381
Admin