If string contains "<" greater sign then the next string from the greater then sign is getting excluded
ranjit-redekar opened this issue · 1 comments
ranjit-redekar commented
Consider the below example,
INPUT - the value of the old purchase is < the new purchase
OUTPUT- the value of the old purchase is
"< the new purchase " this part is getting excluded from the actual string.
linkifyjs - 4.1.1
linkify-html - 4.1.1
Codesandbox link - https://codesandbox.io/s/linkify-html-example-ud7n80
nfrasser commented
Hi @ranjit-redekar, linkify-html does not support text with unencoded HTML entities such as <
(should be encoded as <
. Try linkify-string
instead https://linkify.js.org/docs/linkify-string.html