From: Bjørn Erik Pedersen Date: Tue, 20 Apr 2021 15:45:15 +0000 (+0200) Subject: publisher: Remove some unreachable code X-Git-Tag: v0.83.0~36 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f5d3d635e6b88d7c5d304b80f04e7b4361349fd6;p=brevno-suite%2Fhugo publisher: Remove some unreachable code --- diff --git a/publisher/htmlElementsCollector.go b/publisher/htmlElementsCollector.go index 13387a7e..9dc28c4c 100644 --- a/publisher/htmlElementsCollector.go +++ b/publisher/htmlElementsCollector.go @@ -239,10 +239,6 @@ func isQuote(b byte) bool { } func parseStartTag(s string) (string, bool) { - if strings.HasPrefix(s, "")