mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
@@ -223,7 +223,7 @@ func lexEmoji(l *pageLexer) stateFunc {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
r, _ := utf8.DecodeRune(l.input[i:])
|
r, _ := utf8.DecodeRune(l.input[i:])
|
||||||
if !isAlphaNumeric(r) {
|
if !(isAlphaNumericOrHyphen(r) || r == '+') {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user