mirror of
https://github.com/Ed94/metadesk.git
synced 2026-12-01 10:03:22 -08:00
treat newlines as whitespace in MD_CharIsSpace
This commit is contained in:
1 parent
474c4af262
commit
597b44d5a3
1 file changed
+1
-1
+1
-1
@@ -856,7 +856,7 @@ MD_CharIsReservedSymbol(MD_u8 c)
|
|||||||
MD_FUNCTION MD_b32
|
MD_FUNCTION MD_b32
|
||||||
MD_CharIsSpace(MD_u8 c)
|
MD_CharIsSpace(MD_u8 c)
|
||||||
{
|
{
|
||||||
return c == ' ' || c == '\r' || c == '\t' || c == '\f' || c == '\v';
|
return c == ' ' || c == '\r' || c == '\t' || c == '\f' || c == '\v' || c == '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
MD_FUNCTION MD_u8
|
MD_FUNCTION MD_u8
|
||||||
|
|||||||
Reference in new issue
Block a user