Skip to content

Commit 3e3ddb8

Browse files
committed
XWIKI-22433: Provide consistency in info / warning / error class usages in templates
* Fixed an inconsistency in the velocimacro compared to the XWiki macro.
1 parent 4b60a92 commit 3e3ddb8

File tree

1 file changed

+1
-1
lines changed
  • xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates

1 file changed

+1
-1
lines changed

xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/macros.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ $html
959959
<#if($isInline)span#{else}div#end class="box ${classAffix}message">
960960
<span class="icon-block">$services.icon.renderHTML($iconName)</span>
961961
<span class="sr-only">$services.localization.render($prettyNameKey)</span>
962-
$text
962+
<p>$text</p>
963963
</#if($isInline)span#{else}div#end>
964964
#end
965965

0 commit comments

Comments
 (0)