freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FREEMARKER-81) <#nt> in combination with a <@macro > directive, only keeps indentation for the first line
Date Fri, 27 Oct 2017 11:55:00 GMT

    [ https://issues.apache.org/jira/browse/FREEMARKER-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222220#comment-16222220
] 

Daniel Dekany commented on FREEMARKER-81:
-----------------------------------------

I don't understand yet where does it diverge from the expected behavior. I don't follow the
SO entry either; I suspect there's some misunderstanding regarding how it's supposed to work.

> <#nt> in combination with a <@macro > directive, only keeps indentation for
the first line
> ------------------------------------------------------------------------------------------
>
>                 Key: FREEMARKER-81
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-81
>             Project: Apache Freemarker
>          Issue Type: Bug
>          Components: engine
>            Reporter: Brent
>
> <#nt> in combination with a <@macro > directive, only keeps indentation for
the first line. Multiple lines in the macro, will put every line except the first without
indentation.
> I actually propose a neater way to keep indentation of the line where <@macro>
is used, to use as baseline for the entire macro.
> See my post on StackOverflow for an example: https://stackoverflow.com/a/46973468/2686165



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message