https://bugs.kde.org/show_bug.cgi?id=496817
--- Comment #4 from Grósz Dániel <groszdaniel...@gmail.com> --- (In reply to Waqar Ahmed from comment #3) > For a fully correct implementation we need to scan the whole doc for > parenthesis. So its not very simple, e.g., think of a long comment ending > with "link.com). It's always going to be a heuristic, I'm not even sure "fully correct" is meaningful, I'd just like a better heuristic like the current one. I think treating a ")" as ending a link unless the preceding part of the *link itself* contains more "("s than ")"s would almost always get it right. No need to check the preceding content: if the ")" isn't closing a parenthetical within the link itself, it's almost certainly closing a parenthetical surrounding the link, even if you don't check. -- You are receiving this mail because: You are watching all bug changes.