diff --git a/lib/pure/htmlparser.nim b/lib/pure/htmlparser.nim
index a3683fdb2c..e51ad86f48 100644
--- a/lib/pure/htmlparser.nim
+++ b/lib/pure/htmlparser.nim
@@ -39,7 +39,7 @@
## import strutils # To use cmpIgnoreCase
##
## proc transformHyperlinks() =
-## let html = loadHTML("input.html")
+## let html = loadHtml("input.html")
##
## for a in html.findAll("a"):
## if a.attrs.hasKey "href":