Hello I am current having this issues and it's quite annoying as BBCode parser is currently wrapping all url in <a> tags. I have disabled the Replace links options in all my custom BBCode tags so I don't know how this is happening.
Example use:
from precise_bbcode.bbcode import get_parser
body = '<html><head><title>Document</title></head><body><a href="https://html.spec.whatwg.org/">WHATWG HTML</a>.</body></html>';
parser = get_parser()
rendered = parser.render(body)
print(rendered)
Hello I am current having this issues and it's quite annoying as BBCode parser is currently wrapping all url in
<a>
tags. I have disabled the Replace links options in all my custom BBCode tags so I don't know how this is happening.Example use:
Outputs
<a href="<a href=" https:="" title="WHATWG HTML"><a href="https://html.spec.whatwg.org/">https://html.spec.whatwg.org/</a></a>
I think there should be a global setting that could be used to disable replace links for BBCodes tags, thank you.