diff --git a/mdx.cc b/mdx.cc index 52f84b59..16a84e57 100644 --- a/mdx.cc +++ b/mdx.cc @@ -992,7 +992,7 @@ QString & MdxDictionary::filterResource( QString const & articleId, QString & ar QRegExp anchorLinkRe( "(<\\s*a\\s+[^>]*\\b(?:name|id)\\b\\s*=\\s*[\"']*)(?=[^\"'])", Qt::CaseInsensitive ); anchorLinkRe.setMinimal( true ); - QRegExp wordCrossLink( "(href\\s*=\\s*[\"'])entry://([^#\"'/]+)(#?[^\"']*)", Qt::CaseInsensitive ); + QRegExp wordCrossLink( "(href\\s*=\\s*[\"'])entry://([^#\"']+)(#?[^\"']*)", Qt::CaseInsensitive ); article = article // anchors