Skip to content

Invalid HTML tree support #8

Description

@stevenvachon

With corrected HTML trees, inline transformations can use correct CSS selectors. Bad HTML templates are common from designers:

<style>
  a { color:yellow }
  table a { color:red }
</style>

<table>
  <a href="#">link</a>
  <tr><td></td></tr>
</table>

would otherwise become:

<table>
  <a href="#" style="color:red">link</a>
  <tr><td></td></tr>
</table>

instead of:

<a href="#" style="color:yellow">link</a>
<table>
  <tr><td></td></tr>
</table>

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