Skip to content

Commit afd9e77

Browse files
istvansajtosbrianchandotcom
authored andcommitted
LPD-50960 escape
1 parent ee3c3cc commit afd9e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/apps/blogs/blogs-web/src/main/resources/META-INF/resources/blogs/entry_cover_image_caption.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ String viewEntryURL = ParamUtil.getString(request, "viewEntryURL");
1919
</c:if>
2020

2121
<liferay-ui:csp>
22-
<div <c:if test="<%= Validator.isNotNull(coverImageCaption) %>">aria-label="<%= HtmlUtil.escapeAttribute(HtmlUtil.stripHtml(coverImageCaption)) %>" role="img"</c:if> class="aspect-ratio aspect-ratio-8-to-3 aspect-ratio-bg-cover cover-image" style="background-image: url(<%= coverImageURL %>);"></div>
22+
<div <c:if test="<%= Validator.isNotNull(coverImageCaption) %>">aria-label="<%= HtmlUtil.escapeAttribute(HtmlUtil.stripHtml(coverImageCaption)) %>" role="img"</c:if> class="aspect-ratio aspect-ratio-8-to-3 aspect-ratio-bg-cover cover-image" style="background-image: url(<%= HtmlUtil.escapeAttribute(coverImageURL) %>);"></div>
2323
</liferay-ui:csp>
2424

2525
<c:if test="<%= Validator.isNotNull(viewEntryURL) %>">

0 commit comments

Comments
 (0)