Skip to content

Reversing DOM order #16

Description

@theashguy

Hah, here is an interesting one.

The order of DOM items inside returned containers seems to be rendered reversed. It looks like the library is more broken than I had originally thought.

For example...

<html>
  <head><title>{title}</title></head>
  <body>
    <h1>{subtitle}</h1>
    <p>{"This should come second"}</p>
  </body>
</html>

renders as

<html>
  <head><title>{title}</title></head>
  <body>
    <p>{"This should come second"}</p>
    <h1>{subtitle}</h1>
  </body>
</html>

Will see if I can raise some PRs to get this in working order.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions