Slob: Fix handling of a links with anchor

This commit is contained in:
Abs62 2022-11-24 17:46:20 +03:00
parent f0b66f7507
commit d1ff165a65

View file

@ -874,7 +874,10 @@ string SlobDictionary::convert( const string & in, RefEntry const & entry )
// Find anchor
int n = list[ 3 ].indexOf( '#' );
if( n > 0 )
{
anchor = QString( "?gdanchor=" ) + list[ 3 ].mid( n + 1 );
tag.remove( list[ 3 ].mid( n ) );
}
else
anchor.clear();