diff options
author | Markus Wüstenberg | 2021-05-05 09:03:16 +0200 |
---|---|---|
committer | GitHub | 2021-05-05 09:03:16 +0200 |
commit | 3b7dceab897709fe8243c605adea90ee771c49ff (patch) | |
tree | 78e5fd6151111dca6f60e9e365c79b897e0c4bca /assert | |
parent | 5d2f0f1b87aff69edf5b3a993afbb1ae2db946d0 (diff) | |
download | gomponents-3b7dceab897709fe8243c605adea90ee771c49ff.tar.lz gomponents-3b7dceab897709fe8243c605adea90ee771c49ff.tar.zst gomponents-3b7dceab897709fe8243c605adea90ee771c49ff.zip |
Streamline HTML element API (#66)
There were a lot of elements previously, like `Em`, `H1`, and a lot more, that took a string as the first argument previously. This was weird when you wanted to mix elements to output html like `<strong><em>…</em></strong>` or `<h1>Something <em>something</em> something</h1>`. gomponents is not an HTML validator, so I want people to be able to use elements however they please, also without text content. This also means that all elements now have the same API.
Diffstat (limited to 'assert')
0 files changed, 0 insertions, 0 deletions