You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/06/22 11:14:00 UTC
[jira] [Closed] (MSKINS-248) If $bodyContent is empty HTML code is distorted
[ https://issues.apache.org/jira/browse/MSKINS-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MSKINS-248.
---------------------------------
Resolution: Fixed
Fixed with [21321b898c67a8be986b9782c76f4feaa737504d|https://gitbox.apache.org/repos/asf?p=maven-fluido-skin.git;a=commit;h=21321b898c67a8be986b9782c76f4feaa737504d].
> If $bodyContent is empty HTML code is distorted
> -----------------------------------------------
>
> Key: MSKINS-248
> URL: https://issues.apache.org/jira/browse/MSKINS-248
> Project: Maven Skins
> Issue Type: Bug
> Components: Fluido Skin
> Affects Versions: fluido-2.0.0-M9
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: fluido-2.0.0, fluido-2.0.0-M10
>
>
> If {{$bodyContent}} is empty HTML code is distorted because Velocity does not expand the variable, but leaves the literal {{$bodyContent}}. We need to check it with an {{#if}} clause.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)