br and p tags get stripped out and converted to newlines, they’re not added until the post content is output. See the codex entry for the wpautop
function, this is what is converting those newlines to br and p tags on the_content. It’s difficult to say what exactly is going here in this case though. I find it easier to stay in visual mode and shift-return the linebreaks in there and hard-return where I want the paragraphs.
Related Posts:
- How to auto-format code in Eclipse?
- Adding spaces in multiple lines simultaneously – in Pycharm
- can I add a custom format to the format option in the text panel?
- Change CSS/formatting on specific page, but not pages in general?
- How to change text size of Gutenberg editor
- Content over 10,000 characters won’t display with the_content()
- How to prevent automatic conversion of dashes to –
- Add dollar sign and commas to a number?
- Line breaks not showing up properly
- Use a language specific thousand separator
- Comment formatting with comment_content
- Formating the display of a post’s date, outside the Loop
- Formatting with
- How to define a custom font family for a wordpress blog that will not affect the entire site
- Keep formatting for tables copied from MS Word?
- Page formatting lost when I attempt a revision
- How to properly format if statement with html and php
- How can I prevent WordPress to wrap into a paragragraph
- post_class() breaks out of formatting. . . extra markup also generated
- How to Prevent WordPress from Automatically Applying Inline Styles to Post Images?
- How do I format the date in Event Organizer?
- Images that copy code to clipboard when you click on them
- Formatting poetry in wordpress
- Trim content without stripping formatting
- Changing the code format for wordpress
- How to remove filter apostrophe and single quotation
- Display KML (or other “raw data” file) nicely in WP?
- why doesnt my formatting work in my wisiwig editor?
- Formatting issues within Divi theme
- Preparing Hardcopy and Online Page
- how to display the web content which contain html code prolerly?
- Remove all paragraph tags
- How to prevent wordpress from autoformatting my posts once and for all?
- How do I display page content next to a contact form, rather than under it?
- Multiple item layout with one query
- Fix issue with displaced braces( )
- Formatting text in posts
- Is there a way to reorder a collection of posts to read from top (oldest) to bottom (newest)?
- How to add a spoiler without using shortcode-based plugins [closed]
- Can’t get blog entry to format properly using wp-load
- Paste Function Broken
- Change date format in a Java string
- How can I remove punctuation from input text in Java?
- Format JavaScript date as yyyy-mm-dd
- Double decimal formatting in Java
- Easy pretty printing of floats?
- VBA: Convert Text to Number
- Switch between Visual and HTML tab freely
- Keep HTML format when switching from Visual to HTML editor
- Nice way to print_r arrays
- remove tags from the_content
- disable WP automatically inserted line breaks after an image
- Remove wptexturize from a shortcode?
- Automatically decrease font size for long words
- Create a formatted table-like menu
- Updating to Version 4.5 bumped my “main sidebar” widget out of place
- WordPress adding tags into plugin content
- Automatically added brs and paragraphs?
- Why is WordPress WYSIWYMG and how do I make it WYSIWYG?
- PHP library that can merge stylesheet with inline style [closed]
- Why is this gutenberg custom format button only available from the toolbar as a dropdown?
- WordPress | Convert #038; to &
- How to Include HTML in Excerpts?
- Selectively remove empty line after line change
- Crafting WP_Query array, sort by date
- Format the Layout of Images In The Edit Post Textarea?
- Force Balance Tags not working
- Remove add to cart icon/view product button woocommerce
- Need to add trailing slash to all internal links relative and absolute
- Disable TinyMCE Table formatting width/height
- Visual/Text Editor displays blank pages in WP-Admin- but HTML on client side displays correctly
- How can I remove line breaks from manually formatted HTML?
- Space Not Being Generated in HTML Output?
- How to amend time format of comments, using child-theme?
- Multiple Rows in a using wp_query
- HTML tables in content areas
- What does the Global Variable $s represent?
- WordPress no longer holding post formatting
- Function sanitize_title() does not appear to be working
- WP Editor: Keep Bold, Underline, etc. but ignore color
- Using Microsift Word/Outlook for content publishing to WordPress
- All images on one line for each post
- Style wordpress image captions in RSS
- Email sent from WordPress has HTML tags
- Mystery line break
- get_the_term_list( get_the_ID() label formatting?
- Changing Date Format on Custom Meta Data w/shortcode call
- How do I change the content of an element for a theme without losing the styling?
- Understanding automatic text formatting in the WordPress editor
- Let custom text widget use the same font as the theme
- Post formatting bug in WordPress
- Reformat data within a nested array
- Theme does not respect spaces between paragraphs in pages
- ACF loop and php formatting
- getpost content with all formatting for admin pages
- Add Default WordPress Formatting To Data From External SQL Tables?
- Custom formatting
- How to display html code normally?
- Date is showing in unreadable format. How to convert to readable date?
- How to show only text from post in WordPress