From a75b25333d94bef710bbc05a95baa2e77b61bca9 Mon Sep 17 00:00:00 2001 From: Amr Ojjeh Date: Wed, 19 Jun 2024 03:40:13 -0500 Subject: Add dir (#176) `dir` is a global attribute that lets you specify whether text is RTL or LTR or if it should be determined by the browser. Documentation: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir--- html/attributes_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'html/attributes_test.go') diff --git a/html/attributes_test.go b/html/attributes_test.go index acd17be..0deb06c 100644 --- a/html/attributes_test.go +++ b/html/attributes_test.go @@ -55,6 +55,7 @@ func TestSimpleAttributes(t *testing.T) { {Name: "content", Func: Content}, {Name: "crossorigin", Func: CrossOrigin}, {Name: "enctype", Func: EncType}, + {Name: "dir", Func: Dir}, {Name: "for", Func: For}, {Name: "form", Func: FormAttr}, {Name: "height", Func: Height}, -- cgit 1.4.1