From da4c968cb3c38136090aee9b4dbc589560fc8a6c Mon Sep 17 00:00:00 2001 From: Gabin Date: Mon, 21 May 2018 15:04:53 +0200 Subject: [PATCH] Add failing test case --- .../lists/list-item-line-breaks/input.yaml | 14 ++++++++++++++ .../lists/list-item-line-breaks/output.md | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 test/to-markdown/lists/list-item-line-breaks/input.yaml create mode 100644 test/to-markdown/lists/list-item-line-breaks/output.md diff --git a/test/to-markdown/lists/list-item-line-breaks/input.yaml b/test/to-markdown/lists/list-item-line-breaks/input.yaml new file mode 100644 index 00000000..dc08210c --- /dev/null +++ b/test/to-markdown/lists/list-item-line-breaks/input.yaml @@ -0,0 +1,14 @@ +document: + nodes: + - object: block + type: ordered_list + nodes: + - object: block + type: list_item + nodes: + - object: block + type: unstyled + nodes: + - object: text + leaves: + - text: "Hello\nWorld" diff --git a/test/to-markdown/lists/list-item-line-breaks/output.md b/test/to-markdown/lists/list-item-line-breaks/output.md new file mode 100644 index 00000000..b30b09a5 --- /dev/null +++ b/test/to-markdown/lists/list-item-line-breaks/output.md @@ -0,0 +1,2 @@ +1. Hello + World