diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-07-14 17:15:43 +0200 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-07-14 17:15:43 +0200 |
| commit | 21b9d90d0030a3608b4c9336d0d436f6e87fb998 (patch) | |
| tree | 76f7f1b955a099a65b4d2fc32194fea43e14fb0b | |
| parent | b997e97472915eb54e42dc0508ddc5d4e78cd231 (diff) | |
Changed youtube links in nexus description to use full version instead of shortened one.
| -rw-r--r-- | src/bbcode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bbcode.cpp b/src/bbcode.cpp index eae38f34..323dd128 100644 --- a/src/bbcode.cpp +++ b/src/bbcode.cpp @@ -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=\"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
|
