Yes I can confirm this; when it encounters the BR tag in quotes it treats it as a tag node and closes the style tag. However in this case it should be looking for the end style node first. I'll see if there's a way to fix this.
S
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've modified the way style tags are treated by HtmlTokenizer to mirror how script tags are handled (which can also contain things that looks like tags but aren't, such as formulas, as well as quoted tags). This handles the case above, and doesn't break any other tests.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Megan,
Yes I can confirm this; when it encounters the BR tag in quotes it treats it as a tag node and closes the style tag. However in this case it should be looking for the end style node first. I'll see if there's a way to fix this.
S
I've modified the way style tags are treated by HtmlTokenizer to mirror how script tags are handled (which can also contain things that looks like tags but aren't, such as formulas, as well as quoted tags). This handles the case above, and doesn't break any other tests.