mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
Fix htmlgen html lang (#12668) [backport]
(cherry picked from commit 9c46526cfa)
This commit is contained in:
@@ -313,7 +313,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.
|
||||
|
||||
Reference in New Issue
Block a user