Use `span` tag for the ´contentNotVisible´ element
authorMarcel Werk <burntime@woltlab.com>
Thu, 5 Dec 2024 13:31:08 +0000 (14:31 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 5 Dec 2024 13:31:08 +0000 (14:31 +0100)
The use of `div` resulted in invalid HTML code if the element was surrounded by other formatting (e.g. bold).

com.woltlab.wcf/templates/shared_contentNotVisible.tpl

index adde8729ad34ada3db6df28be6bb4ef9f2fa9e7b..308ee0d3903bf4a22bf407591dcb82d6b64daa29 100644 (file)
@@ -1,8 +1,8 @@
-<div class="contentNotVisible">
+<span class="contentNotVisible">
        <span class="contentNotVisible__icon">
                {icon name='face-frown' size=32}
        </span>
        <span class="contentNotVisible__title">
                {unsafe:$message}
        </span>
-</div>
+</span>