':' is now considered a trailing punctuation
This commit is contained in:
parent
78d6c63d68
commit
67bbf3220e
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ autolink_delim(uint8_t *data, size_t link_end, size_t max_rewind, size_t size)
|
|||
}
|
||||
|
||||
while (link_end > 0) {
|
||||
if (strchr("?!.,", data[link_end - 1]) != NULL)
|
||||
if (strchr("?!.,:", data[link_end - 1]) != NULL)
|
||||
link_end--;
|
||||
|
||||
else if (data[link_end - 1] == ';') {
|
||||
|
|
Loading…
Reference in a new issue