Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 8, 2023
1 parent e8d70f2 commit 788102d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dict/mdx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ void MdxDictionary::replaceLinks( QString & id, QString & article )
QString linkType = allLinksMatch.captured( 1 ).toLower();
QString newLink;

if ( linkType == "a" ) {
if ( linkType == "a" ) {
newLink = linkTxt;

QRegularExpressionMatch match = RX::Mdx::audioRe.match( newLink );
Expand Down Expand Up @@ -956,7 +956,7 @@ void MdxDictionary::replaceLinks( QString & id, QString & article )
else
newLink = linkTxt.replace( RX::Mdx::stylesRe2, R"(\1"bres://)" + id + R"(/\2")" );
}
else{
else {
//linkType in ("script","img","source","audio","video")
// javascripts and images
QRegularExpressionMatch match = RX::Mdx::inlineScriptRe.match( linkTxt );
Expand Down

0 comments on commit 788102d

Please sign in to comment.