mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
526b5b1c49
commit
3038464ea6
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ func lexEmoji(l *pageLexer) stateFunc {
|
|||
break
|
||||
}
|
||||
r, _ := utf8.DecodeRune(l.input[i:])
|
||||
if !isAlphaNumeric(r) {
|
||||
if !(isAlphaNumericOrHyphen(r) || r == '+') {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue