Skip to content

Commit cb25d99

Browse files
bug fixes; update README; use swift-testing instead of XCTest
- fixed `form`'s `autocomplete` attribute value type - added missing `autocomplete` attribute to `input` - added missing `imagesrcset` attribute to `link` - added missing `autocomplete` attribute to `textarea` - fixed `acceptCharset` label not being converted to `accept-charset` for `form` - fixed certain array attributes needing a comma separator instead of a space when converted to html - fixed integer arrays not being compilable - fixed some macro layouts - added more unit tests
1 parent 67a2002 commit cb25d99

File tree

5 files changed

+209
-124
lines changed

5 files changed

+209
-124
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Write HTML using Swift Macros.
1010
let test:String = #html([
1111
#body([
1212
#div(
13-
class: ["bing", "bong"],
13+
class: ["dark-mode", "row"],
1414
draggable: .false,
1515
hidden: .true,
1616
inputmode: .email,
17-
title: "just seeing what blow's",
17+
title: "Hey, you're pretty cool",
1818
[
1919
"Random text",
2020
#div(),
@@ -26,7 +26,7 @@ let test:String = #html([
2626
]),
2727
#div(),
2828
#button(disabled: true),
29-
#video(autoplay: true, controls: false, height: nil, preload: .auto, src: "https://github.com/RandomHashTags/litleagues", width: .centimeters(1)),
29+
#video(autoplay: true, controls: false, preload: .auto, src: "https://github.com/RandomHashTags/litleagues", width: .centimeters(1)),
3030
]
3131
)
3232
])

0 commit comments

Comments
 (0)