Title: Inline HTML
Last modified: August 22, 2016

---

# Inline HTML

 *  Resolved [saleho](https://wordpress.org/support/users/saleho/)
 * (@saleho)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/inline-html/)
 * Hi… first, I’d like to thanks for this plugin. Great.
 * I have a question about this plugin, in the previous version (1.0) your plugin
   can show the html code only in one line, but why in next version (1.1) this doesn’t
   happen again.
 * How I can use the current version but display the result oh html code as the 
   previous version? Thanks before..
 * [https://wordpress.org/plugins/wp-super-minify/](https://wordpress.org/plugins/wp-super-minify/)

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

 *  Plugin Author [Dipak Gajjar](https://wordpress.org/support/users/dipakcg/)
 * (@dipakcg)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/inline-html/#post-5631397)
 * Yes, I have removed that function in the latest release of WP Super Minify. I
   have noticed that stripping new line character sometimes causing issues specifically
   when your site includes any inline JavaScript or CDATA that uses single-line 
   comments (double slashes) or any pre-filled textareas that need to have newline
   characters for human readability.
 * For example…
 *     ```
       <script type="text/javascript">
       // click event
       myFormElement.onclick = function() {
            this.submit();
       };
       </script>
       ```
   
 * Let me know if you still want to show the HTML code in single line and I will
   give you a code you need to add in the plugin file, but I don’t recommend it.
 *  Thread Starter [saleho](https://wordpress.org/support/users/saleho/)
 * (@saleho)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/inline-html/#post-5631404)
 * Thanks for your response. Actually I dont use javascript compression. I just 
   need html and css compression.
 * If you don’t mind, I’d like to ask the one line version. This plugin is what 
   I’m looking for among other compression plugins.
 * Thanks for your attention.
 *  Plugin Author [Dipak Gajjar](https://wordpress.org/support/users/dipakcg/)
 * (@dipakcg)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/inline-html/#post-5631424)
 * In wp-super-minify.php (located under /wp-content/plugins/wp-super-minify directory),
   edit line no. 154 and replace `return $buffer` with `return preg_replace('(\r
   |\n|\t)', '', $buffer);`.
 * This should now compress your html into a single line.

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

The topic ‘Inline HTML’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-minify/assets/icon-256x256.png?rev=3241178)
 * [WP Super Minify • Minify, Compress and Cache HTML, CSS & JavaScript](https://wordpress.org/plugins/wp-super-minify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-minify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-minify/reviews/)

## Tags

 * [html compression](https://wordpress.org/support/topic-tag/html-compression/)

 * 3 replies
 * 2 participants
 * Last reply from: [Dipak Gajjar](https://wordpress.org/support/users/dipakcg/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/inline-html/#post-5631424)
 * Status: resolved