git.iko.soy
/
typeable/pandoc
readme
files
commits
refs
on
master
help
sign in
CommonMark writer: avoid excess blank lines at end of output.
1ad9679
John MacFarlane
9 years ago
src/Text/Pandoc/Writers/CommonMark.hs
+1
−1
compare with master
unified
split
@@ -86,7 +86,7 @@ blocksToCommonMark opts bs = do
86
then
Just
$ writerColumns opts
86
then
Just
$ writerColumns opts
87
else
Nothing
87
else
Nothing
88
nodes <- blocksToNodes opts bs
88
nodes <- blocksToNodes opts bs
89
−
return $
89
+
return $
T
.stripEnd $
90
nodeToCommonmark cmarkOpts colwidth $
90
nodeToCommonmark cmarkOpts colwidth $
91
node
DOCUMENT
nodes
91
node
DOCUMENT
nodes
92
92
test/command/gfm.md
−8
@@ -71,8 +71,6 @@ My:thumbsup:emoji:heart:
71
| orange | 1.12 |
71
| orange | 1.12 |
72
72
73
The caption.
73
The caption.
74
−
75
−
76
```
74
```
77
75
78
```
76
```
@@ -80,8 +78,6 @@ The caption.
80
“hi”
78
“hi”
81
^D
79
^D
82
"hi"
80
"hi"
83
−
84
−
85
```
81
```
86
82
87
```
83
```
@@ -89,8 +85,6 @@ The caption.
89
"hi"
85
"hi"
90
^D
86
^D
91
“hi”
87
“hi”
92
−
93
−
94
```
88
```
95
89
96
```
90
```
@@ -98,8 +92,6 @@ The caption.
98
"hi"
92
"hi"
99
^D
93
^D
100
"hi"
94
"hi"
101
−
102
−
103
```
95
```
104
96
105
```
97
```
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list