summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-01-16 23:12:17 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-01-16 23:12:17 -0800
commit54bc9903cff53399c4bc67be0d1b842201863f83 (patch)
tree4db118eae147928fb5e58d27bf54d7ffefba1881
parenta8ed144adf688c2194367d072bc9638af68fc4f7 (diff)
Use 2 space + cr for line break in commonmark output.
This is more portable. Closes #90.
-rw-r--r--src/commonmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 1a61334..f19db3f 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -320,7 +320,7 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
case CMARK_NODE_LINEBREAK:
if (!(CMARK_OPT_HARDBREAKS & options)) {
- LIT("\\");
+ LIT(" ");
}
CR();
break;