Ignore commas at the end of links, too
[Sone.git] / src / main / java / net / pterodactylus / sone / text / SoneTextParser.java
index 6752c12..dbfa0f3 100644 (file)
@@ -321,7 +321,7 @@ public class SoneTextParser implements Parser<SoneTextParserContext> {
        }
 
        private boolean isPunctuation(char character) {
-               return character == '.';
+               return (character == '.') || (character == ',');
        }
 
        private static class NextLink {