diff options
Diffstat (limited to 'vendor/github.com/yuin/goldmark/util/util.go')
-rw-r--r-- | vendor/github.com/yuin/goldmark/util/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/util/util.go b/vendor/github.com/yuin/goldmark/util/util.go index 9bf09adf2..e2c92c6bb 100644 --- a/vendor/github.com/yuin/goldmark/util/util.go +++ b/vendor/github.com/yuin/goldmark/util/util.go @@ -808,7 +808,7 @@ func IsPunct(c byte) bool { // IsPunctRune returns true if the given rune is a punctuation, otherwise false. func IsPunctRune(r rune) bool { - return int32(r) <= 256 && IsPunct(byte(r)) || unicode.IsPunct(r) + return unicode.IsSymbol(r) || unicode.IsPunct(r) } // IsSpace returns true if the given character is a space, otherwise false. |