Nom HTML Parser

This project is an Alpha HTML parser created with nom.

The goal of this crate is to provide a performant runtime HTML parsing library to convert HTML String to HTML node structure. The library is actually rather fragile.

Rules to follow: - Always close your HTML delimiter on a new line. For the moment, self-closing tag and 1 line html is not valid. ``` // good

// bad

``` - Always indent the nodes relatively to there nesting level. ``` // good

// bad

- Attributes have to be written in backticks. // good

// bad

- Text nodes are final, they assume that all the content after the start of the node is Text and not HTML nodes. in example:

{{test}} {{/test}}

Test

This will result in a Text node containing all the div content. The have the structure like this you have to wrap your text node in an HTML element:

{{test}} {{/test}}

Test

```

These limitations are temporary and will be fixed, but for the moment the library is usable and i will continue to improve it further. Contributions welcome :)