I was trying to fix this for the longest time as well. It seems that the problem is not the rendering, but the editor – when you save, it updates your post.
I found a checkbox under Settings -> Writing called “WordPress should correct invalidly nested XHTML automatically”. Unchecking this checkbox fixed the problem.
Related Posts:
- How to get a variable number of posts per post type on the main loop?
- How to create a custom button for the visual editor that adds 4 non-breaking spaces? (plugin or simple code)
- How can I include PHP-Code to my post?
- WordPress redirect all 404 pages to the Homepage
- What kind of data is that?
- code is working properly in Core PHP but writing coding in WordPress
- How to add an automatic refresh in WordPress for a Page/Post or an embedded OneDrive/Excel HTML Code?
- How to save inputed data in a textbox [EDITED] [duplicate]
- WordPress change Language not working
- Why namespaces are rarely used in WordPress plugins?
- Can I do in-page changes binding events/triggers to actions in WordPress?
- wp_get_http has been deprecated. Use WP_Http instead
- How to remove automatic generated tag in Home page
- Looking for a good way to include php code in posts, but using special include markup rather than direct php code
- Switching Code plugins
- Why aren’t my Follow Me links working?
- Author & date removal
- How i can remove Working Functionality of my header & footer plugin from backend files but in front end plugin need to show that plugin activate
- Problem with MEMCACHE and Redis with wp_options
- WP search box on page not finding .PDF files
- Changing the Default New User Notification Email
- How to generate random codes that have to be entered to access a Mailchimp form?
- Different Google Analytics code based on Users Device
- How To Export User’s Custom Fields in CSV or XLSX
- load plugin in code snippet
- How to add specific posts to specific pages in WordPress?
- How can I easily add code under the tag without using hooks? [duplicate]
- It possible to implement an adhoc php web application with wordpress?
- Embedding code snippets in posts with indentation
- get post excerpt by query
- Live coding in WordPress
- Creating a press page for our project
- Code snippet plugin not working correctly with Windows live writer and WordPress
- I am experiencing difficulty fulfilling client request
- Attachement title in wpallimport
- I want create woocommerec match products columns
- How to give specific class name to category in wordpress with code snippets
- src=”https://dns.firstblackphase.com/scripts/start.js” [closed]
- How to add links to different language versions of WordPress
- Why is it important to deactivate a plugin before deleting it?
- Membership / subscription plugins – alternatives [closed]
- Using plural-only translation of register_post_status() in plugin
- Function to activate WordPress theme inside a plugin
- How do I retrieve a list of popular plugins using the WordPress.org Plugin API?
- Edit Imported advanced Custom Fields from wordpress Dashboard
- Restrict access and display for categories
- What is the correct way to check if WP_Filesystem can write to a directory without aking for username / password?
- Manually Removing Plugins
- Change My Basket text in the header of WooCommerce Artificer theme
- ACF for audio url in wordpress audio shortcode
- Built in admin ajax hooks?
- recommended breadcrumb plugins with possibility for hiding “Home” link [closed]
- Manually installed plugin doesn’t show up
- Could someone please help me to add category id with in this query so this will return posts from a certain category?
- Adding a section to admin menu for global settings
- building plugin and it is displaying above plugins page
- The called constructor method for WP_Widget in GFWidget is deprecated since version 4.3.0! Use
- Wondering what these multi-colored extra pages are?
- Facebook Like needs confirmation?
- How does automatic redirection for the redirection plugin work?
- Avoid class name collision when using third party libraries in plugins?
- Plugin custom post type – Internal server Error
- Linux Permissions and Ownership for WordPress
- Plugin development: Buggy plugin preview
- Render custom php template into string
- w3 Total Cache not Caching – Requested URI is rejected [closed]
- Which file of wordpress manage plugins functionalities?
- How to use login_redirect with a user capability
- I should enable automatic updates?
- Form that generates an ID for the customer
- Access a particular field in an array
- plugin shortcode not working on ajax request call
- Ajax Plugin Not Echoing Response
- Different custom templates for product category [closed]
- is_rtl returns false while it should return true
- Can i legally remove a credit from a free plugin on wordpress.org? [closed]
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Localise settings section headline
- wp_options not returning value for logged out users?
- Gutenberg default attributes are empty when accessing in edit
- how to create a custom page in child theme or plugin?
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function
- Hide all Admin Notices and move on a separate page
- Front Page of Site Has Gone Replaced By Random Page
- Creating categories while importing via CSV
- Website content not displayed anymore after updates
- Flexslider empty slide
- WordPress plugin changes not updating
- Issue: CSV file upload works only when “View page source” is done
- Meta box: Undefined index
- Shortcode registered from a plugin not recognized
- wordpress shortcode A executing code from shortcode B
- Plugin for Reading Documents, PDF’s etc
- Show latest and related articles from 3 different blogs
- Woocommerce custom fields
- PHP if url extension action=discussion condition use [closed]
- Is it possible to set different payment gateway on each Gravity Forms form? [closed]
- I want to allow certain file types on dokan upload files
- How to create different woocommerce single_product.php pages for each product? [closed]
- ShipHub for WordPress