Title: HTML errors when creating a Docx file
Last modified: May 9, 2025

---

# HTML errors when creating a Docx file

 *  [steheap](https://wordpress.org/support/users/steheap/)
 * (@steheap)
 * [1 year ago](https://wordpress.org/support/topic/html-errors-when-creating-a-docx-file/)
 * I’m trying to get to grips with the plugin before buying the premium version.
   I’m trying to create an eBook or perhaps a PDF from about 8 different wordpress
   posts which use links in each post to move to the next post. Ideally I wanted
   the eBook to be able to similarly link to the relevant post, and I thought that
   if I created a Word file I could edit the links in the Word document and then
   create the eBook and PDF. The first time I used the Word export, it failed with
   errors about the size of the title, which I pasted below. Before I get much further,
   is this an error that the title of the post is too long? How long can it be?
 * <head><title>413 Request Entity Too Large</title></head>
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-errors-when-creating-a-docx-file%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [ferranfg](https://wordpress.org/support/users/ferranfg/)
 * (@ferranfg)
 * [1 year ago](https://wordpress.org/support/topic/html-errors-when-creating-a-docx-file/#post-18459393)
 * Hi [@steheap](https://wordpress.org/support/users/steheap/),
 * From my experience, EPUB is the best output format. It’s easy to edit after generation,
   and tools like [EPUB Checker](https://github.com/paginagmbh/EPUB-Checker) and
   Calibre work well alongside my plugin once the file is created. In contrast, 
   Word format is much more complex, which makes it harder for the plugin to generate
   a valid file.
 * If I’m not mistaken, the error message you’re seeing comes from the content validation
   service. You’re likely using the **“Embed Images**” option under the **“Design”**
   tab, which can result in a file that’s too large for the third-party validator
   to handle. To resolve this, you can either disable the **“Validate content before
   download**” checkbox or adjust the **“Content Images**” settings for a different
   option.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘HTML errors when creating a Docx file’ is closed to new replies.

 * ![](https://ps.w.org/mpl-publisher/assets/icon-256x256.png?rev=2522858)
 * [MPL-Publisher — Ebook & Audiobook Creator](https://wordpress.org/plugins/mpl-publisher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mpl-publisher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mpl-publisher/)
 * [Active Topics](https://wordpress.org/support/plugin/mpl-publisher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mpl-publisher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mpl-publisher/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ferranfg](https://wordpress.org/support/users/ferranfg/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/html-errors-when-creating-a-docx-file/#post-18459393)
 * Status: not resolved