From 741f95e2d63746af8542f4679656a6e345120265 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 14 Aug 2018 00:09:46 +0200 Subject: [PATCH] make dochack.nim compile again --- tools/dochack/dochack.nim | 28 ++++++++++++++-------------- tools/dochack/karax.nim | 5 +++-- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/tools/dochack/dochack.nim b/tools/dochack/dochack.nim index 8cc27b6eb..61c61225d 100644 --- a/tools/dochack/dochack.nim +++ b/tools/dochack/dochack.nim @@ -28,7 +28,7 @@ proc parentWith(x: Element; tag: cstring): Element = proc extractItems(x: Element; items: var seq[Element]) = if x == nil: return - if x.nodeName == "A": + if x.nodeName == cstring"A": items.add x else: for i in 0..