aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/html2bbcode.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 1aaaffc55..f5790217a 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -24,8 +24,8 @@ function html2bbcode($s) {
'/\<code\>(.*?)\<\/code\>/is',
'/\<span style=\"color:(.*?)\"\>(.*?)\<\/span\>/is',
'/\<blockquote\>(.*?)\<\/blockquote\>/is',
- '/\<video(.*?) src=\"(.*?)\" (.*?)\>(.*?)\</video>/is',
- '/\<audio(.*?) src=\"(.*?)\" (.*?)\>(.*?)\</audio>/is',
+ '/\<video(.*?) src=\"(.*?)\" (.*?)\>(.*?)\</video\>/is',
+ '/\<audio(.*?) src=\"(.*?)\" (.*?)\>(.*?)\</audio\>/is',
);