1
Hello,
I have changed some lines in my module.textsanatizer.php to handle external and internal links. Some CSS style stuff. However I get some problems when I write something like this in my HTML Form:
[u r l =https://xoops.org/modules/newbb/newtopic.php?forum=20]https://xoops.org/modules/newbb/newtopic.php?forum=20[/url]
This is the HTML output:
<a href="https://xoops.org/modules/newbb/newtopic.php?forum=20" target="_blank" class="external" rel="nofollow">a><a href="https://xoops.org/modules/newbb/newtopic.php?forum=20" target="_blank">https://xoops.org/modules/newbb/newtopic.php?forum=20
As you can see this happens because the link is modified twice! It doesn't happen if I write this:
[ u r l =https://xoops.org/modules/newbb/newtopic.php?forum=20]XOOPS Forum[/url]
I tried to find the place where XOOPS formats Hyperlinks but I didn't find the place in module.textsanatizer.php. How can I fix this?
Regards