Skip to content

MarkupHelper::codeBlock has extra indentation on the first line #197

@anshooarora

Description

@anshooarora

Due to an error in the template markup/codeblock.ftl, extra indentation is printed on the first line:

  <root>
  <Person>
    <Name>Joe Doe</Name>
    <StartDate>2007-01-01</StartDate>
    <EndDate>2009-01-01</EndDate>
    <Location>London</Location>
  </Person>
</root>

Correct indentation:

<root>
  <Person>
    <Name>Joe Doe</Name>
    <StartDate>2007-01-01</StartDate>
    <EndDate>2009-01-01</EndDate>
    <Location>London</Location>
  </Person>
</root>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions