summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-07-14 17:15:43 +0200
committerAl <gabriel.cortesi@outlook.com>2019-07-14 17:15:43 +0200
commit21b9d90d0030a3608b4c9336d0d436f6e87fb998 (patch)
tree76f7f1b955a099a65b4d2fc32194fea43e14fb0b /src
parentb997e97472915eb54e42dc0508ddc5d4e78cd231 (diff)
Changed youtube links in nexus description to use full version instead of shortened one.
Diffstat (limited to 'src')
-rw-r--r--src/bbcode.cpp2
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