linkifyjs icon indicating copy to clipboard operation
linkifyjs copied to clipboard

linkifyHtml: issue with specific html-escaped links

Open phoneyman opened this issue 4 years ago • 0 comments

Using linkifyHtml on an escaped string produces incorrect output. EG: linkifyHtml() called on the string '"http://google.com"' produces the following output: '"http://google.com"' which renders as "http://google.com";

The call in the code is: var options = {/* */}; final = linkifyHtml('"http://google.com"', options);

phoneyman avatar Sep 27 '21 23:09 phoneyman