mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-23 08:46:56 +00:00
CSV reader: turn line breaks into LineBreaks not SoftBreaks.
Closes #9797.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
```
|
||||
% pandoc -t native -f csv
|
||||
"one_line_break:
|
||||
four_line_breaks:
|
||||
|
||||
|
||||
|
||||
last_line"
|
||||
^D
|
||||
[ Table
|
||||
( "" , [] , [] )
|
||||
(Caption Nothing [])
|
||||
[ ( AlignDefault , ColWidthDefault ) ]
|
||||
(TableHead
|
||||
( "" , [] , [] )
|
||||
[ Row
|
||||
( "" , [] , [] )
|
||||
[ Cell
|
||||
( "" , [] , [] )
|
||||
AlignDefault
|
||||
(RowSpan 1)
|
||||
(ColSpan 1)
|
||||
[ Plain
|
||||
[ Str "one_line_break:"
|
||||
, LineBreak
|
||||
, Str "four_line_breaks:"
|
||||
, LineBreak
|
||||
, LineBreak
|
||||
, LineBreak
|
||||
, LineBreak
|
||||
, Str "last_line"
|
||||
]
|
||||
]
|
||||
]
|
||||
])
|
||||
[ TableBody ( "" , [] , [] ) (RowHeadColumns 0) [] [] ]
|
||||
(TableFoot ( "" , [] , [] ) [])
|
||||
]
|
||||
```
|
||||
Reference in New Issue
Block a user