8000 control instructions should not be counted as white space · Issue #307 · olado/doT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
control instructions should not be counted as white space #307
Open
@pke

Description

@pke

Given this template, it should render a CSV output with no empty lines

host,pin,subject
{{~ it :e }}
{{=e.host}},{{=e.hash}},{{=e.subject.CN}}
{{~}}

However, the output contains an empty line after the header and after each of the arrays items.
Currently this template has to be used to get a proper formatted CSV output:

host,pin,subject{{~ it :e }}
{{=e.host}},{{=e.hash}},{{=e.subject.CN}}{{~}}

which is rather ugly.
Will this be fixed in V2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0