You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parser doesn't check if value after starting tag is a valid HTML tag or not. Parser should check if it's a valid HTML tag only then remove everything after starting tag if no closing tag found.
If you can find this for <$40, it's a steal! I would highly recommend getting it
after this text is run through sanitize-html which uses htmlparser2, the string is truncated to the text before the 'lt' symbol, so the remainder of the text is discarded. Is there a setting I am missing or is this a bug?
Input: If you can find this for <$40, it's a steal! I would highly recommend getting it
Result: If you can find this for
Expected: If you can find this for <$40, it's a steal! I would highly recommend getting it
The text was updated successfully, but these errors were encountered:
@fb55 That one works in the latest.. but have another use case where for internal DB functions considering time dimension, parser is incorrectly recognizing the tag. ( or any word after < )
Parser doesn't check if value after starting tag is a valid HTML tag or not. Parser should check if it's a valid HTML tag only then remove everything after starting tag if no closing tag found.
Taking example from : apostrophecms/sanitize-html#339
If you can find this for <$40, it's a steal! I would highly recommend getting it
after this text is run through
sanitize-html
which useshtmlparser2
, the string is truncated to the text before the 'lt' symbol, so the remainder of the text is discarded. Is there a setting I am missing or is this a bug?Input:
If you can find this for <$40, it's a steal! I would highly recommend getting it
Result:
If you can find this for
Expected:
If you can find this for <$40, it's a steal! I would highly recommend getting it
The text was updated successfully, but these errors were encountered: