From e3f6a2849c3e95702f2ae8804ae0b8800b50f34c Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:36:55 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/dict/mdx.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dict/mdx.cc b/src/dict/mdx.cc index 8554db65..de8c3508 100644 --- a/src/dict/mdx.cc +++ b/src/dict/mdx.cc @@ -961,8 +961,7 @@ void MdxDictionary::replaceLinks( QString & id, QString & article ) // javascripts and images QRegularExpressionMatch match = RX::Mdx::inlineScriptRe.match( linkTxt ); // "script" tag - if ( linkType.compare( "script" ) == 0 - && match.hasMatch() && match.capturedLength() == linkTxt.length() ) { + if ( linkType.compare( "script" ) == 0 && match.hasMatch() && match.capturedLength() == linkTxt.length() ) { // skip inline scripts articleNewText += linkTxt; match = RX::Mdx::closeScriptTagRe.match( article, linkPos );