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