You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Brent (JIRA)" <ji...@apache.org> on 2017/10/27 11:18:00 UTC

[jira] [Created] (FREEMARKER-81) <#nt> in combination with a <@macro > directive, only keeps indentation for the first line

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)