From 21b9d90d0030a3608b4c9336d0d436f6e87fb998 Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 14 Jul 2019 17:15:43 +0200 Subject: [PATCH] Changed youtube links in nexus description to use full version instead of shortened one. --- src/bbcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bbcode.cpp b/src/bbcode.cpp index eae38f340..323dd1288 100644 --- a/src/bbcode.cpp +++ b/src/bbcode.cpp @@ -183,7 +183,7 @@ class BBCodeMap { m_TagMap["email="] = std::make_pair(QRegExp("\\[email=\"?([^\\]]*)\"?\\](.*)\\[/email\\]"), "\\2"); m_TagMap["youtube"] = std::make_pair(QRegExp("\\[youtube\\](.*)\\[/youtube\\]"), - "https://youtu.be/\\1"); + "https://www.youtube.com/watch?v=\\1"); // make all patterns non-greedy and case-insensitive