diff options
| author | John MacFarlane <[email protected]> | 2024-05-19 19:20:08 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-05-19 19:20:08 -0700 |
| commit | f874997f1864427e2eebbf0f79c4a08e2c4fa74d (patch) | |
| tree | 352bb260539374550354903cbb3cd3326ed4fa2d | |
| parent | db559e100c02ca1f95953f3eeeca005fdc01b595 (diff) | |
Fix abstract-title in openxml template.
| -rw-r--r-- | data/templates/default.openxml | 11 | ||||
| -rw-r--r-- | test/docx/golden/document-properties.docx | bin | 10925 -> 10929 bytes |
2 files changed, 3 insertions, 8 deletions
diff --git a/data/templates/default.openxml b/data/templates/default.openxml index b002e3496..bfbf102d7 100644 --- a/data/templates/default.openxml +++ b/data/templates/default.openxml @@ -34,19 +34,14 @@ $if(date)$ </w:p> $endif$ $if(abstract)$ +$if(abstract-title)$ <w:p> <w:pPr> <w:pStyle w:val="AbstractTitle" /> </w:pPr> - $if(abstract-title)$ - $abstract-title$ - $else$ - <w:r> - <w:t xml:space="preserve">Abstract - </w:t> - </w:r> - $endif$ + <w:r><w:t xml:space="preserve">$abstract-title$</w:t></w:r> </w:p> +$endif$ $abstract$ $endif$ $for(include-before)$ diff --git a/test/docx/golden/document-properties.docx b/test/docx/golden/document-properties.docx Binary files differindex 58a488989..59c0e81ad 100644 --- a/test/docx/golden/document-properties.docx +++ b/test/docx/golden/document-properties.docx |
