Title: Breaks gravityforms attachments
Last modified: June 13, 2017

---

# Breaks gravityforms attachments

 *  Resolved [tonebrandon](https://wordpress.org/support/users/tonebrandon/)
 * (@tonebrandon)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/breaks-gravityforms-attachments/)
 * We have GravityForms (latest version) and this plugin (latest version). When 
   the plugin is activated I think it’s trying to minify the output of a script 
   in Gravity Forms which displays files attached to the form entries.
 * If you create a form with a file upload field, then view the entry in the entries
   tab under GF in wp-admin you’ll see a link to a file. Click that and once it 
   opens go to console and you’ll get a “Content-length mismatch” and doctype error
   on the new page that is trying to fetch the file.
 * Disabling the HTML Minify plugin solves this issue. So maybe just exclude these
   types of scripts from being minified?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Tim Eckel](https://wordpress.org/support/users/teckel/)
 * (@teckel)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/breaks-gravityforms-attachments/#post-9225745)
 * Have you tried disabling minify for inline JavaScript and CSS? Making exceptions
   for certain other plugins is a losing battle of chasing your tail.
 *  Plugin Author [Tim Eckel](https://wordpress.org/support/users/teckel/)
 * (@teckel)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/breaks-gravityforms-attachments/#post-9373660)
 * Closed due to age.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Breaks gravityforms attachments’ is closed to new replies.

 * ![](https://ps.w.org/minify-html-markup/assets/icon-128x128.png?rev=1354357)
 * [Minify HTML](https://wordpress.org/plugins/minify-html-markup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/minify-html-markup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/minify-html-markup/)
 * [Active Topics](https://wordpress.org/support/plugin/minify-html-markup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/minify-html-markup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/minify-html-markup/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tim Eckel](https://wordpress.org/support/users/teckel/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/breaks-gravityforms-attachments/#post-9373660)
 * Status: resolved