Skip to content

Commit

Permalink
Changed youtube links in nexus description to use full version instea…
Browse files Browse the repository at this point in the history
…d of shortened one.
  • Loading branch information
Al12rs committed Jul 14, 2019
1 parent b997e97 commit 21b9d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bbcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class BBCodeMap {
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=\"https://youtu.be./\\1\">https://youtu.be/\\1</a>");
"<a href=\"https://www.youtube.com/watch?v=\\1\">https://www.youtube.com/watch?v=\\1</a>");


// make all patterns non-greedy and case-insensitive
Expand Down

0 comments on commit 21b9d90

Please sign in to comment.