From 6c03975f9848498ba098f5d2147fd68a070393ea Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Mon, 22 Jun 2020 16:44:05 +0200 Subject: [PATCH] Fix broken HTML markup The video can be placed within normal text (inside `

` elements). `

` elements are not allowed within `

` elements. Because the class `.videoContainer` is already a block element (via CSS), we can easily change the element type to ``, which is allowed inside of `

` elements. --- com.woltlab.wcf/templates/__videoAttachmentBBCode.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.woltlab.wcf/templates/__videoAttachmentBBCode.tpl b/com.woltlab.wcf/templates/__videoAttachmentBBCode.tpl index da69480dbb..4343043bfb 100644 --- a/com.woltlab.wcf/templates/__videoAttachmentBBCode.tpl +++ b/com.woltlab.wcf/templates/__videoAttachmentBBCode.tpl @@ -1,6 +1,6 @@ -

+ {$attachment->filename} -- 2.20.1