diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-09-04 10:02:38 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-09-04 11:06:01 -0700 |
commit | b185560a8ec1fd8a0b578de4d94ea72a3d3e2943 (patch) | |
tree | 05369222ab5d2732901482483bdda7ad88029a97 /test/rtf | |
parent | aaef51707c1b7612232d1d97276862ec473bb686 (diff) | |
download | pandoc-b185560a8ec1fd8a0b578de4d94ea72a3d3e2943.tar.gz |
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.
Diffstat (limited to 'test/rtf')
-rw-r--r-- | test/rtf/bookmark.native | 2 |
1 files changed, 1 insertions, 1 deletions
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","")]] |