Skip to content

Commit

Permalink
Merge pull request #1215 from xiaoyifang/opt/save-article
Browse files Browse the repository at this point in the history
fix: save article , process qrc protocol link
  • Loading branch information
xiaoyifang authored Oct 8, 2023
2 parents 7ede4a3 + 810c4b3 commit 9578ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3290,8 +3290,8 @@ void MainWindow::on_saveArticle_triggered()

if ( complete ) {
QString folder = fi.absoluteDir().absolutePath() + "/" + fi.baseName() + "_files";
QRegExp rx1( "\"((?:bres|gico|gdau|qrcx|gdvideo)://[^\"]+)\"" );
QRegExp rx2( "'((?:bres|gico|gdau|qrcx|gdvideo)://[^']+)'" );
QRegExp rx1( "\"((?:bres|gico|gdau|qrcx|qrc|gdvideo)://[^\"]+)\"" );
QRegExp rx2( "'((?:bres|gico|gdau|qrcx|qrc|gdvideo)://[^']+)'" );
set< QByteArray > resourceIncluded;
vector< pair< QUrl, QString > > downloadResources;

Expand Down

0 comments on commit 9578ca3

Please sign in to comment.