Forum


Replies: 4   Views: 1801
Footnote index falls on the new line
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 18-12-2019 - 15:10

Hello,

Sorry that HTML doesn't use the required syntaxis. This is the included sample:

<phpdocx_footnote>
    <p>Here comes the </p>
    <phpdocx_footnote_textdocument data-text="&nbsp;endnote" data-bold="true" />
    <phpdocx_footnote_textfootnote>
        <p>Text <em>footnote</em></p>
    </phpdocx_footnote_textfootnote>
    <p>&nbsp;and some other text.</p>
</phpdocx_footnote>

As you can check, the contents and tags are in the phpdocx_footnote, and there's no wrapping paragraph (p) tag. Your HTML has contents out of phpdocx_footnote and has a wrapping paragraph, and phpdocx_footnote_textdocument should have a data-text value.

Regards.