Change [code] to ``` as code tag don't recognize and user need manually correct tag. (#11226)

This commit is contained in:
Kuzemko Alexsandr
2023-11-06 19:11:42 +02:00
committed by GitHub
parent 51af5b2afb
commit 697f8a7b77

View File

@@ -808,7 +808,7 @@ void AboutDialog::copyToClipboard()
deskInfo = QLatin1String(" (") + deskEnv + QLatin1String("/") + deskSess + QLatin1String(")");
}
str << "[code]\n";
str << "```\n";
str << "OS: " << prettyProductInfoWrapper() << deskInfo << '\n';
str << "Word size of " << exe << ": " << QSysInfo::WordSize << "-bit\n";
str << "Version: " << major << "." << minor << "." << point << suffix << "." << build;
@@ -889,7 +889,7 @@ void AboutDialog::copyToClipboard()
}
}
str << "[/code]\n";
str << "```\n";
QClipboard* cb = QApplication::clipboard();
cb->setText(data);
}