Skip Menu |

This queue is for tickets about the txt2html CPAN distribution.

Report information
The Basics
Id: 64594
Status: new
Priority: 0/
Queue: txt2html

People
Owner: Nobody in particular
Requestors: aveckey [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.51
Fixed in: (no value)



Subject: Ability to ignore existing anchor
In the HTML::TextToHTML txt2html() function, I think it would be beneficial to be able to ignore already anchored text instead of trying to put an anchor into the pre-existing anchor. I generate a large report where parts of it are free-text that users provide. Some of them only provide a URL, but some get 'clever' and provide the HTML anchor, knowing that the report will be in HTML. I tried utilizing the 'link_only' attribute and was successful to a point. The problem with that is that at any time, a stray < or > or & could lurk and the txt2html() function would not convert them. If you could please add this capability, that would be great. Unless of course there is an easy way to do this already.