From 5018f384f42e20f93658e3b25ab962fc40ab7405 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Tue, 3 Nov 2015 01:38:00 +0300 Subject: [PATCH] Aard: Handle inter-article anchors --- aard.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aard.cc b/aard.cc index cfc3359c..4f7adf13 100644 --- a/aard.cc +++ b/aard.cc @@ -393,6 +393,10 @@ string AardDictionary::convert( const string & in ) text.replace( QRegExp( "<\\s*a\\s*href\\s*=\\s*'(w:|s:){0,1}([^#](?!ttp://)[^']*)(.)" ), "]*)/>", Qt::CaseInsensitive ); //
text.replace( self_closing_divs, "\\1>
" );