blob: e9b8f7e8d07041600b1f249527cd25b098dba0b7 [file] [log] [blame]
ooxml.word.create
#item input.html
<!DOCTYPE html>
<html>
<body>
<p>
First<span class="endnote">Content of the <b>first</b> endnote</span>
second<span class="endnote">Content of the <i>second</i> endnote</span>
third<span class="endnote">Content of the <u>third</u> endnote</span>
endnote
</p>
</body>
</html>
#item expected
##item document.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:body>
<w:p>
<w:r>
<w:t>First</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteReference w:id="0"/>
</w:r>
<w:r>
<w:t xml:space="preserve"> second</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteReference w:id="1"/>
</w:r>
<w:r>
<w:t xml:space="preserve"> third</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteReference w:id="2"/>
</w:r>
<w:r>
<w:t xml:space="preserve"> endnote</w:t>
</w:r>
</w:p>
<w:sectPr>
<w:pgSz w:h="16840" w:w="11900"/>
<w:pgMar w:bottom="1190" w:left="1190" w:right="1190" w:top="1190"/>
</w:sectPr>
</w:body>
</w:document>
##item styles.xml
#include "styles-endnotes.xml"
##item endnotes.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:endnotes xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:endnote w:id="0">
<w:p>
<w:pPr>
<w:pStyle w:val="EndnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteRef/>
</w:r>
<w:r>
<w:t xml:space="preserve"> Content of the </w:t>
</w:r>
<w:r>
<w:rPr>
<w:b/>
<w:bCs/>
</w:rPr>
<w:t>first</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve"> endnote</w:t>
</w:r>
</w:p>
</w:endnote>
<w:endnote w:id="1">
<w:p>
<w:pPr>
<w:pStyle w:val="EndnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteRef/>
</w:r>
<w:r>
<w:t xml:space="preserve"> Content of the </w:t>
</w:r>
<w:r>
<w:rPr>
<w:i/>
<w:iCs/>
</w:rPr>
<w:t>second</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve"> endnote</w:t>
</w:r>
</w:p>
</w:endnote>
<w:endnote w:id="2">
<w:p>
<w:pPr>
<w:pStyle w:val="EndnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteRef/>
</w:r>
<w:r>
<w:t xml:space="preserve"> Content of the </w:t>
</w:r>
<w:r>
<w:rPr>
<w:u w:val="single"/>
</w:rPr>
<w:t>third</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve"> endnote</w:t>
</w:r>
</w:p>
</w:endnote>
</w:endnotes>