mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 03:11:05 +00: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