Fix htmlgen html lang (#12668) [backport]

(cherry picked from commit 9c46526cfa)
This commit is contained in:
Juan Carlos
2019-11-15 16:23:03 -03:00
committed by narimiran
parent 5937c40928
commit e8578c926e

View File

@@ -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.