Skip to content

Commit 3553670

Browse files
CSS Include: Fix handling of "rel" property. (#7)
1 parent aa1e43a commit 3553670

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

changes.xml

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
<action type="fix" dev="sseifert" issue="6">
2828
Ensure request context path is added to client library URLs.
2929
</action>
30+
<action type="fix" dev="sseifert" issue="7">
31+
CSS Include: Fix handling of "rel" property.
32+
</action>
3033
<action type="update" dev="sseifert">
3134
Switch to AEM 6.5.17 as minimum version.
3235
</action>

src/main/webapp/app-root/sightly/templates/clientlib.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @param rel prefetch|preload see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
2828
* @param customAttributes List of custom attributes, each list item in syntax 'attr=value' or just 'attr'
2929
*/-->
30-
<template data-sly-template.css="${@ categories, customAttributes}">
30+
<template data-sly-template.css="${@ categories, rel, customAttributes}">
3131
<sly data-sly-test="${request.getResourceResolver}"
3232
data-sly-use.clientlib="${'io.wcm.wcm.ui.clientlibs.components.CSSInclude' @
3333
categories=categories, rel=rel, customAttributes=customAttributes}">

0 commit comments

Comments
 (0)