Fix htmlgen html lang (#12668) [backport]
* Fix HTMLGen enable lang on html tag
This commit is contained in:
parent
83b7656c0e
commit
9c46526cfa
2 changed files with 2 additions and 2 deletions
|
|
@ -321,7 +321,7 @@ macro header*(e: varargs[untyped]): untyped =
|
|||
|
||||
macro html*(e: varargs[untyped]): untyped =
|
||||
## generates the HTML ``html`` element.
|
||||
result = xmlCheckedTag(e, "html", "xmlns", "")
|
||||
result = xmlCheckedTag(e, "html", "xmlns" & commonAttr, "")
|
||||
|
||||
macro hr*(): untyped =
|
||||
## generates the HTML ``hr`` element.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue