Commit b0cdec92 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't look at (...) for url. Otherwise it will remove space in url

when we want to show (http://www.kde.org - section 5.2) and we don't want it.

CCBUG: 313719
parent 0434b8cf
......@@ -114,9 +114,9 @@ QString LinkLocator::getUrl()
if ( mPos > 0 ) {
beforeUrl = mText[mPos - 1];
if ( beforeUrl == '(' ) {
/*if ( beforeUrl == '(' ) {
afterUrl = ')';
} else if ( beforeUrl == '[' ) {
} else */if ( beforeUrl == '[' ) {
afterUrl = ']';
} else if ( beforeUrl == '<' ) {
afterUrl = '>';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment