Fixed Youtube links in Nexus Description view.

This commit is contained in:
Al
2019-07-14 02:46:57 +02:00
parent a2aa4270e9
commit b997e97472
+1 -1
View File
@@ -183,7 +183,7 @@ private:
m_TagMap["email="] = std::make_pair(QRegExp("\\[email=\"?([^\\]]*)\"?\\](.*)\\[/email\\]"),
"<a href=\"mailto:\\1\">\\2</a>");
m_TagMap["youtube"] = std::make_pair(QRegExp("\\[youtube\\](.*)\\[/youtube\\]"),
"<a href=\"http://www.youtube.com/v/\\1\">http://www.youtube.com/v/\\1</a>");
"<a href=\"https://youtu.be./\\1\">https://youtu.be/\\1</a>");
// make all patterns non-greedy and case-insensitive