mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
publisher: Remove some unreachable code
This commit is contained in:
parent
0d3c42da56
commit
f5d3d635e6
1 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue