Skip to content

Commit 7f336c8

Browse files
committed
feat: labelledby
1 parent 363ef00 commit 7f336c8

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Diff for: docs/entry.51164d29.js renamed to docs/entry.3fc141d8.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/entry.51164d29.js.map renamed to docs/entry.3fc141d8.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://www.w3.org/2000/svg"><head><meta charset="utf-8"><title>html2purescript</title><style>body{font-family:sans-serif;text-align:center;margin:10px}textarea{width:100%;height:220px}.container{max-width:900px;margin:auto;text-align:left}.title{vertical-align:middle}.title .picker,h1{font-size:20px}label{display:block;color:#ac450a;border-bottom:1px solid #ac450a;margin-bottom:5px}section{margin:20px auto}</style></head><body> <script src="entry.51164d29.js"></script> </body></html>
1+
<!doctype html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://www.w3.org/2000/svg"><head><meta charset="utf-8"><title>html2purescript</title><style>body{font-family:sans-serif;text-align:center;margin:10px}textarea{width:100%;height:220px}.container{max-width:900px;margin:auto;text-align:left}.title{vertical-align:middle}.title .picker,h1{font-size:20px}label{display:block;color:#ac450a;border-bottom:1px solid #ac450a;margin-bottom:5px}section{margin:20px auto}</style></head><body> <script src="entry.3fc141d8.js"></script> </body></html>

Diff for: src/Parser/Halogen.purs

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ renderTree =
112112
appendUnderscore = Array.elem key ["id"]
113113
key' = if appendUnderscore then key <> "_" else key
114114
in fromHalogenHP (Ident key')
115+
Just "labelledby" -> fromHalogenHPAria $ Ident "labelledBy"
115116
Just key' -> fromHalogenHPAria $ Ident $ Data.String.Extra.camelCase key'
116117
in
117118
Array.singleton $

0 commit comments

Comments
 (0)