{"id":367,"date":"2021-12-28T17:52:03","date_gmt":"2021-12-28T12:22:03","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=367"},"modified":"2022-05-19T14:15:02","modified_gmt":"2022-05-19T08:45:02","slug":"disable-automatic-formatting-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/","title":{"rendered":"How to Disable Automatic Formatting in WordPress"},"content":{"rendered":"<p>To know how to disable automatic Formatting in WordPress, go through the text below. This will allow you to skip the WordPress formatting checks and show raw text on your website.<\/p>\n<p>WordPress always auto-formates HTML when you add text in the editor. It automatically formats text to clean up and replaces simple quotes with fancy quotes. Also, it removes tags required to display HTML, javascript, or CSS. Therefore this auto-formatting stops users from displaying raw text, code, and CSS\/Javascript code.<\/p>\n<p>Without any delay, let us explain how to disable autoformatting in WordPress.<\/p>\n<h2>1. Disable Automatic Formatting by coding<\/h2>\n<p>You have to add custom code to your WordPress website in this method.<br \/>\nNow, copy and paste the following code to your theme&#8217;s functions.php file or a site-specific plugin.<\/p>\n<pre>function my_formatter($content) {\r\n$new_content = '';\r\n$pattern_full = '{([raw].*?[\/raw])}is';\r\n$pattern_contents = '{[raw](.*?)[\/raw]}is';\r\n$pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE);\r\n\r\nforeach ($pieces as $piece) {\r\nif (preg_match($pattern_contents, $piece, $matches)) {\r\n$new_content .= $matches[1];\r\n} else {\r\n$new_content .= wptexturize(wpautop($piece));\r\n}\r\n}\r\n\r\nreturn $new_content;\r\n}\r\n\r\nremove_filter('the_content', 'wpautop');\r\nremove_filter('the_content', 'wptexturize');\r\n\r\nadd_filter('the_content', 'my_formatter', 99);<\/pre>\n<p>The above code helps you skip the formatting option of the wrapped text inside the raw shortcode, and you must add the HTML block to your WordPress post editor.<\/p>\n<p>You can add your unformatted text or code inside the raw shortcode inside the post editor.<\/p>\n<pre>[raw]Unformatted code[\/raw]\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-370\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/unformatted-html-block.png\" alt=\"\" width=\"550\" height=\"269\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/unformatted-html-block.png 550w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/unformatted-html-block-300x147.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The drawback of this coding method is that it does not work well with the block editor. Even in the HTML block, it may act unexpectedly.<\/p>\n<p>Now, Let us move on to the another method to disable automatic formatting.<\/p>\n<h2>2. Disable Automatic Formatting by using a plugin<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-372\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML.png\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML-300x134.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML-768x342.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>You can use the Raw HTML plugin. It is an easy-to-use, lightweight plugin that helps you disable automatic Formatting in WordPress.<br \/>\nAfter installing the plugin, you can wrap any page or post in the code generated by the plugin. Simply wrapping content with this code will prevent WordPress from converting newlines to HTML paragraphs.<\/p>\n<p>This Raw HTML Plugin method is easier, but it works with Classic Editor. Also, you have to stay on the Text editor tab.<\/p>\n<p>The main disadvantage of this approach is that it would create a mess if you decide to start using the block editor in the future.<\/p>\n<p><strong>Note-<\/strong> <em>The plugin&#8217;s free version only supports editing posts in the HTML editor (text editor) in WordPress. If you want to change the text editor with a visual editor without messing up content, you have to use the pro version of this plugin. Also, this plugin does not fully support the Gutenberg editor.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-383\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/screencapture-hostkicker-blog-wp-admin-post-new-php-2021-12-25-14_41_13-edit.jpg\" alt=\"\" width=\"1561\" height=\"685\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/screencapture-hostkicker-blog-wp-admin-post-new-php-2021-12-25-14_41_13-edit.jpg 1561w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/screencapture-hostkicker-blog-wp-admin-post-new-php-2021-12-25-14_41_13-edit-300x132.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/screencapture-hostkicker-blog-wp-admin-post-new-php-2021-12-25-14_41_13-edit-1024x449.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/screencapture-hostkicker-blog-wp-admin-post-new-php-2021-12-25-14_41_13-edit-768x337.jpg 768w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/screencapture-hostkicker-blog-wp-admin-post-new-php-2021-12-25-14_41_13-edit-1536x674.jpg 1536w\" sizes=\"auto, (max-width: 1561px) 100vw, 1561px\" \/><\/p>\n<p>Now, let us move how you can do it. Follow the steps below and disable auto-formatting in WordPress.<\/p>\n<p>To install plugins you can check our guide to <a href=\"https:\/\/hostkicker.com\/blog\/how-to-install-a-wordpress-plugin\">install a plugin<\/a> or follow these steps.<\/p>\n<p>Go to plugins &gt;&gt; search new &gt;&gt; search for the Raw HTML<\/p>\n<p>After installing and activating the Raw HTML Plugin,\u00a0 now, create a new post.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-374\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Install-Activate-Raw-HTML.png\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Install-Activate-Raw-HTML.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Install-Activate-Raw-HTML-300x134.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Install-Activate-Raw-HTML-768x342.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><br \/>\nGo to posts &gt;&gt; add new.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-376\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Posts-Add-New.png\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Posts-Add-New.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Posts-Add-New-300x134.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Posts-Add-New-768x342.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Now, go to the &#8220;text&#8221; tab and create your content. You have to create your content in a Text\/HTML editor.<br \/>\nWrap the content between the following code, which will prevent your content from formatting.<\/p>\n<pre>[raw]content here[\/raw] or &lt;!\u2014raw\u2013&gt;content here&lt;!\u2013\/raw\u2013&gt; tags.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-378\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Add-HTML-Content.png\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Add-HTML-Content.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Add-HTML-Content-300x134.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Add-HTML-Content-768x342.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Moreover, This plugin provides certain checkboxes options below the page. You can use any of the options according to your need.<br \/>\nNow go ahead and publish your content or save your changes and preview it to see unformatted text in action.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-380\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML-Checkboxes.png\" alt=\"\" width=\"1024\" height=\"456\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML-Checkboxes.png 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML-Checkboxes-300x134.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/Raw-HTML-Checkboxes-768x342.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>To wrap up<\/strong>, The Auto-Formatting of HTML in WordPress creates an issue with the content. You can disable automatic formatting in WordPress by using different methods.<\/p>\n<p>You can use manual code or use the Raw HTML plugin.<\/p>\n<p>we really hope this article helped you. You can also check our post on <a href=\"https:\/\/hostkicker.com\/blog\/how-to-disable-html-in-wordpress-comments\/\">how to disable HTML in WordPress comments.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To know how to disable automatic Formatting in WordPress, go through the text below. This will allow you to skip the WordPress formatting checks and show raw text on your website. WordPress always auto-formates HTML when you add text in the editor. It automatically formats text to clean up and replaces simple quotes with fancy [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":434,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-367","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Disable Automatic Formatting in WordPress<\/title>\n<meta name=\"description\" content=\"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Disable Automatic Formatting in WordPress\" \/>\n<meta property=\"og:description\" content=\"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-28T12:22:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-19T08:45:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Disable Automatic Formatting in WordPress\" \/>\n<meta name=\"twitter:description\" content=\"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to Disable Automatic Formatting in WordPress\",\"datePublished\":\"2021-12-28T12:22:03+00:00\",\"dateModified\":\"2022-05-19T08:45:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/\"},\"wordCount\":587,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/How-to-Disable-Automatic-Formatting-in-WordPress.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/\",\"name\":\"How to Disable Automatic Formatting in WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/How-to-Disable-Automatic-Formatting-in-WordPress.png\",\"datePublished\":\"2021-12-28T12:22:03+00:00\",\"dateModified\":\"2022-05-19T08:45:02+00:00\",\"description\":\"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/How-to-Disable-Automatic-Formatting-in-WordPress.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/How-to-Disable-Automatic-Formatting-in-WordPress.png\",\"width\":693,\"height\":511,\"caption\":\"How to Disable Automatic Formatting in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/disable-automatic-formatting-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Disable Automatic Formatting in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Disable Automatic Formatting in WordPress","description":"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Disable Automatic Formatting in WordPress","og_description":"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.","og_url":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2021-12-28T12:22:03+00:00","article_modified_time":"2022-05-19T08:45:02+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_title":"How to Disable Automatic Formatting in WordPress","twitter_description":"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.","twitter_image":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to Disable Automatic Formatting in WordPress","datePublished":"2021-12-28T12:22:03+00:00","dateModified":"2022-05-19T08:45:02+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/"},"wordCount":587,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/","name":"How to Disable Automatic Formatting in WordPress","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png","datePublished":"2021-12-28T12:22:03+00:00","dateModified":"2022-05-19T08:45:02+00:00","description":"By default, WordPress auto format your HTML text. To prevent this You can Disable Automatic Formatting in WordPress by using code or Plugin.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png","width":693,"height":511,"caption":"How to Disable Automatic Formatting in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/disable-automatic-formatting-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Disable Automatic Formatting in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/How-to-Disable-Automatic-Formatting-in-WordPress.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":20,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"predecessor-version":[{"id":2032,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/367\/revisions\/2032"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/434"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}