Skip to content

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

Closed

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>

Activity

  1. added this to the 5.0.x milestone on Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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