mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-15 22:26:25 +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
|
break
|
||||||
}
|
}
|
||||||
r, _ := utf8.DecodeRune(l.input[i:])
|
r, _ := utf8.DecodeRune(l.input[i:])
|
||||||
if !isAlphaNumeric(r) {
|
if !(isAlphaNumericOrHyphen(r) || r == '+') {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue