':' is now considered a trailing punctuation

This commit is contained in:
Rick Bradley 2013-09-19 17:20:13 -05:00 committed by Devin Torres
parent 78d6c63d68
commit 67bbf3220e

View file

@ -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] == ';') {