mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 15:45:12 -04:00
publisher: Remove some unreachable code
This commit is contained in:
parent
0d3c42da56
commit
f5d3d635e6
@ -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, ">")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user