gavinny1
Member
Posted 1 year ago #
When trying to render a html link ending in a digit:
http://abc.com/1
for instance, the preview takes the end quote and renders it as a html double quote, breaking the link. A quick fix is to comment out line 101:
s = s.replace(/(\d+)"/g, '$1″');
I'd appreciate any feedback on whether this is appropriate, or if any other fix is possible. Thanks.
gavinny1
Member
Posted 1 year ago #
Follow on: I've just updated to the latest version (2.01b), and although the changes make this more robust, the preview does not recognise URLs ending in a digit still.
i.e.
<a href="http://abc.com/1">fred</a>
does not get rendered as a link in the preview.
I have users reporting the same problem; using WP 3.1.1 and LCP 2.0b1
If something redundant such as: " &ref=rss " is added after the final digit, the preview works properly again.