lib/markdown: Fixed spacing issue in which a `then` was mistaken for a suffix
authorLucas Bajolet <r4pass@hotmail.com>
Fri, 27 Nov 2015 16:54:14 +0000 (11:54 -0500)
committerLucas Bajolet <r4pass@hotmail.com>
Fri, 27 Nov 2015 16:54:14 +0000 (11:54 -0500)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

lib/markdown/markdown.nit

index b9e2f6a..7907409 100644 (file)
@@ -417,7 +417,7 @@ class MarkdownProcessor
                        end
                else if c == '_' then
                        if c1 == '_' then
-                               if c0 != ' ' or c2 != ' 'then
+                               if c0 != ' ' or c2 != ' ' then
                                        return new TokenStrongUnderscore(loc, pos, c)
                                else
                                        return new TokenEmUnderscore(loc, pos, c)