mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
publisher: Remove some unreachable code
This commit is contained in:
@@ -239,10 +239,6 @@ func isQuote(b byte) bool {
|
||||
}
|
||||
|
||||
func parseStartTag(s string) (string, bool) {
|
||||
if strings.HasPrefix(s, "</") || strings.HasPrefix(s, "<!") {
|
||||
return "", false
|
||||
}
|
||||
|
||||
s = strings.TrimPrefix(s, "<")
|
||||
s = strings.TrimSuffix(s, ">")
|
||||
|
||||
|
Reference in New Issue
Block a user