File tree Expand file tree Collapse file tree 3 files changed +91
-0
lines changed Expand file tree Collapse file tree 3 files changed +91
-0
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,10 @@ tests = [ testGroup "document"
265265 " i18n blocks (headers and blockquotes)"
266266 " docx/i18n_blocks.docx"
267267 " docx/i18n_blocks.native"
268+ , testCompare
269+ " Image before Title"
270+ " docx/image-before-title.docx"
271+ " docx/image-before-title.native"
268272 , testCompare
269273 " lists"
270274 " docx/lists.docx"
Original file line number Diff line number Diff line change 1+ [ Para
2+ [ Image
3+ ( ""
4+ , []
5+ , [ ( "width" , "6.268055555555556in" )
6+ , ( "height" , "6.268055555555556in" )
7+ ]
8+ )
9+ [ Str "A"
10+ , Space
11+ , Str "cat"
12+ , Space
13+ , Str "holding"
14+ , Space
15+ , Str "a"
16+ , Space
17+ , Str "rainbow"
18+ , Space
19+ , Str "flag."
20+ ]
21+ ( "media/image1.jpeg" , "" )
22+ ]
23+ , Title
24+ [ Str "This"
25+ , Space
26+ , Str "is"
27+ , Space
28+ , Str "a"
29+ , Space
30+ , Str "title"
31+ ]
32+ , Subtitle
33+ [ Str "This"
34+ , Space
35+ , Str "is"
36+ , Space
37+ , Str "a"
38+ , Space
39+ , Str "subtitle"
40+ ]
41+ , Header
42+ 1
43+ ( "this-is-a-heading-1" , [] , [] )
44+ [ Str "This"
45+ , Space
46+ , Str "is"
47+ , Space
48+ , Str "a"
49+ , Space
50+ , Str "heading"
51+ , Space
52+ , Str "1"
53+ ]
54+ , Para
55+ [ Str "This"
56+ , Space
57+ , Str "is"
58+ , Space
59+ , Str "some"
60+ , Space
61+ , Str "text."
62+ ]
63+ , Header
64+ 2
65+ ( "this-is-a-heading-2" , [] , [] )
66+ [ Str "This"
67+ , Space
68+ , Str "is"
69+ , Space
70+ , Str "a"
71+ , Space
72+ , Str "heading"
73+ , Space
74+ , Str "2"
75+ ]
76+ , Para
77+ [ Str "This"
78+ , Space
79+ , Str "is"
80+ , Space
81+ , Str "also"
82+ , Space
83+ , Str "some"
84+ , Space
85+ , Str "text."
86+ ]
87+ ]
You can’t perform that action at this time.
0 commit comments