From b185560a8ec1fd8a0b578de4d94ea72a3d3e2943 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 4 Sep 2021 10:02:38 -0700 Subject: RTF reader: better handling of `\*` and bookmarks. We now ensure that groups starting with `\*` never cause text to be added to the document. In addition, bookmarks now create a span between the start and end of the bookmark, rather than an empty span. --- test/rtf/bookmark.native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rtf') diff --git a/test/rtf/bookmark.native b/test/rtf/bookmark.native index bc5b67afc..f142f1c5c 100644 --- a/test/rtf/bookmark.native +++ b/test/rtf/bookmark.native @@ -1,3 +1,3 @@ Pandoc (Meta {unMeta = fromList []}) -[Para [Span ("bookmark_1",[],[]) [],Str "Bookmark_1"] +[Para [Span ("bookmark_1",[],[]) [Str "Bookmark_1"]] ,Para [Link ("",[],[]) [Str "click",Space,Str "me"] ("#bookmark_1","")]] -- cgit v1.2.3