From f4cd11b8f4835932b4f7323f7cccefdab9fc4867 Mon Sep 17 00:00:00 2001 From: Antoine Mottier Date: Thu, 15 Feb 2024 16:37:59 +0100 Subject: [PATCH] Use double quotes for icon aria-hidden value The single quotes leads to error for example with tour extension: ``` xwiki:Tour.WebHome:17:78: ERROR - [JSC_PARSE_ERROR] Parse error. ',' expected 17| $(' Launch') ^ 1 error(s), 0 warning(s) ``` --- .../src/main/resources/IconThemes/FontAwesome.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-fontawesome/src/main/resources/IconThemes/FontAwesome.xml b/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-fontawesome/src/main/resources/IconThemes/FontAwesome.xml index 184c414827dc..cd4c127930ad 100644 --- a/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-fontawesome/src/main/resources/IconThemes/FontAwesome.xml +++ b/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-fontawesome/src/main/resources/IconThemes/FontAwesome.xml @@ -39,8 +39,8 @@ ## General settings xwiki.iconset.type = font xwiki.iconset.css = $services.webjars.url('org.webjars:font-awesome', 'css/font-awesome.min.css') -xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon" aria-hidden='true'></span>{{/html}} -xwiki.iconset.render.html = <span class="fa fa-$icon" aria-hidden='true'></span> +xwiki.iconset.render.wiki = {{html clean="false"}}<span class="fa fa-$icon" aria-hidden="true"></span>{{/html}} +xwiki.iconset.render.html = <span class="fa fa-$icon" aria-hidden="true"></span> xwiki.iconset.icon.cssClass = fa fa-$icon ## XWiki Icon Set (see: http://design.xwiki.org/xwiki/bin/view/Proposal/XWiki+Icon+Set).