From 75dc0130364decfc34a42936d107c24df9532b64 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Fri, 13 Dec 2019 12:45:55 +0100 Subject: Org reader: add table labels to caption if both are present The table `#+NAME:` or `#+LABEL:` is added to the table's caption in the form of an empty span with the label set as the span's ID. Closes: #5984 --- test/command/3706.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/command/3706.md b/test/command/3706.md index 00f53279e..5b2e32f7f 100644 --- a/test/command/3706.md +++ b/test/command/3706.md @@ -15,7 +15,7 @@ pandoc -f org -t native | 2 | La | | 3 | La | ^D -[Table [Str "Lalelu."] [AlignDefault,AlignDefault] [0.0,0.0] +[Table [Span ("tab",[],[]) [],Str "Lalelu."] [AlignDefault,AlignDefault] [0.0,0.0] [[Plain [Str "Id"]] ,[Plain [Str "Desc"]]] [[[Plain [Str "1"]] -- cgit v1.2.3