Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix class/attribute mixup bug | jturtle | 2023-10-02 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | There's a bug in the current version of GSP where an element like this: p .class attribute="value" {-} would be transpiled as this: <p class="value" attribute="value"></p> The `classes` slice in `func printAttrs` (`formatter.go`, line 50) was the cause. I fixed it by making a deep copy of the `attrs` slice. I'm not a Go programmer, there might be a nicer way to make a deep copy of a slice. But it does, indeed, work. P.S. thanks for making this, writing HTML by hand is now slightly less painful! | ||||
* | Run ‘go fmt’ | Thomas Voss | 2023-09-11 | 1 | -9/+9 |
| | |||||
* | Add the ‘=’ node for whitespace trimming | Thomas Voss | 2023-09-11 | 1 | -0/+8 |
| | |||||
* | Add the ‘>’ node modifier | Thomas Voss | 2023-09-11 | 1 | -0/+4 |
| | |||||
* | Fix a panic | Thomas Voss | 2023-09-10 | 1 | -1/+1 |
| | |||||
* | Remove all XML support | Thomas Voss | 2023-09-10 | 1 | -22/+2 |
| | |||||
* | Rework some of the formatting- and parsing code | Thomas Voss | 2023-09-10 | 1 | -79/+88 |
| | |||||
* | Add primitive support for doctypes and XML | Thomas Voss | 2023-09-09 | 1 | -14/+41 |
| | |||||
* | Fix bug when key has no value | Thomas Voss | 2023-09-09 | 1 | -1/+1 |
| | |||||
* | Consistent code style | Thomas Voss | 2023-09-09 | 1 | -1/+1 |
| | |||||
* | Genesis commit | Thomas Voss | 2023-09-08 | 1 | -0/+104 |