diff options
Diffstat (limited to 'src/html/htmlparser.nim')
-rw-r--r-- | src/html/htmlparser.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/htmlparser.nim b/src/html/htmlparser.nim index 310a11aa..5467e321 100644 --- a/src/html/htmlparser.nim +++ b/src/html/htmlparser.nim @@ -2225,7 +2225,7 @@ proc parseHTML*(inputStream: Stream, cs = none(Charset), fallbackcs = CHARSET_UT proc newDOMParser*(): DOMParser {.jsctor.} = new(result) -proc parseFromString*(parser: DOMParser, str: string, t: string): Document {.jserr, jsfunc.} = +proc parseFromString(parser: DOMParser, str: string, t: string): Document {.jserr, jsfunc.} = case t of "text/html": let (res, _) = parseHTML(newStringStream(str)) |