Skip to content

Wrapping within unpaired tags #386

@tyson-nw

Description

@tyson-nw

I have a list of unpaired tags that I feed through tidy and instead of wrapping them before the tag it is wrapping them within the tag

<html>
  <head>
    <title></title>
  </head>
  <body>
    <form>
      <input id="$nodeid[0]" /><input id=
      "$nodeid[1]" /><input id="$nodeid[2]" /><input id=
      "$nodeid[3]" />
    </form>
  </body>
</html>

Is there a configuration option that would produce code more like

<html>
  <head>
    <title></title>
  </head>
  <body>
    <form>
      <input id="$nodeid[0]" />
      <input id="$nodeid[1]" />
      <input id="$nodeid[2]" />
      <input id="$nodeid[3]" />
    </form>
  </body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions