summary refs log tree commit diff stats
path: root/lib/pure/htmlgen.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-03-27 02:28:11 -0700
committerGitHub <noreply@github.com>2021-03-27 10:28:11 +0100
commita65189a739c59fcc0d7b3f8fdcb2cf8bed432f68 (patch)
tree079934acdaad7f51edd35b54e2390c3c2f08daed /lib/pure/htmlgen.nim
parent8ed6de4fe6517dc4db38ab5dea898c0016d1c08a (diff)
downloadNim-a65189a739c59fcc0d7b3f8fdcb2cf8bed432f68.tar.gz
nnkArglist => nnkArgList + special case stylecheck:error (#17529)
* nnkArglist => nnkArgList

* special case stylecheck:error
Diffstat (limited to 'lib/pure/htmlgen.nim')
-rw-r--r--lib/pure/htmlgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/htmlgen.nim b/lib/pure/htmlgen.nim
index 163f9303b..89eb24bb9 100644
--- a/lib/pure/htmlgen.nim
+++ b/lib/pure/htmlgen.nim
@@ -322,7 +322,7 @@ macro html*(e: varargs[untyped]): untyped =
 
 macro hr*(): untyped =
   ## Generates the HTML `hr` element.
-  result = xmlCheckedTag(newNimNode(nnkArglist), "hr", commonAttr, "", true)
+  result = xmlCheckedTag(newNimNode(nnkArgList), "hr", commonAttr, "", true)
 
 macro i*(e: varargs[untyped]): untyped =
   ## Generates the HTML `i` element.