Add 'download' and 'referrerpolicy' attributes for anchor <a> element (#242) Hello, A patch to add [`download`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download) and [`referrerpolicy`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#referrerpolicy) for the anchor `<a>` element.
1 file changed, 2 insertions(+), 0 deletions(-)
changed files
M html/attributes_test.go → html/attributes_test.go
@@ -60,6 +60,7 @@ {Name: "datetime", Func: DateTime}, {Name: "draggable", Func: Draggable}, {Name: "enctype", Func: EncType}, {Name: "dir", Func: Dir}, + {Name: "download", Func: Download}, {Name: "for", Func: For}, {Name: "form", Func: FormAttr}, {Name: "formaction", Func: FormAction},@@ -87,6 +88,7 @@ {Name: "popovertarget", Func: PopoverTarget}, {Name: "popovertargetaction", Func: PopoverTargetAction}, {Name: "poster", Func: Poster}, {Name: "preload", Func: Preload}, + {Name: "referrerpolicy", Func: ReferrerPolicy}, {Name: "rel", Func: Rel}, {Name: "role", Func: Role}, {Name: "rows", Func: Rows},