ansi2html icon indicating copy to clipboard operation
ansi2html copied to clipboard

linkify=True doesn't catch anchors

Open ddevault opened this issue 6 years ago • 2 comments
trafficstars

https://example.org#foobar

ddevault avatar Mar 11 '19 23:03 ddevault

Would also be good to update the regex to only start on word boundaries.

ddevault avatar Mar 12 '19 04:03 ddevault

I agree this feels like a bug:

# echo 'before https://example.org#foobar after' | ansi2html --inline --linkify
before <a href="https://example.org">https://example.org</a>#foobar after

hartwork avatar Feb 03 '22 23:02 hartwork