freemarker-notifications mailing list archives

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

             Summary: <#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