aboutsummaryrefslogtreecommitdiff
path: root/src/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8.c')
-rw-r--r--src/utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utf8.c b/src/utf8.c
index 50d8834..ffb050d 100644
--- a/src/utf8.c
+++ b/src/utf8.c
@@ -269,7 +269,7 @@ int utf8proc_is_space(int32_t uc)
// matches anything in the P[cdefios] classes.
int utf8proc_is_punctuation(int32_t uc)
{
- return ((uc < 128 && ispunct((char)uc)) ||
+ return ((uc < 128 && cmark_ispunct((char)uc)) ||
uc == 161 ||
uc == 167 ||
uc == 171 ||