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
- Moving formatted data in Salesforce rich text field into WordPress
- Convert formatted string to text
- How to format inline code blocks
- Add dollar sign to a number in filter?
- How to prettyprint a JSON file?
- Change date format in a Java string
- Expected RBRACE, but the bracket is there?
- How can I remove punctuation from input text in Java?
- std::string formatting like sprintf
- Convert java.util.Date to String
- How can I remove punctuation from input text in Java?
- How to print elements from array with javascript
- Format JavaScript date as yyyy-mm-dd
- How to format numbers as currency strings
- What does {0} mean when found in a string in C#?
- Double decimal formatting in Java
- How to print a number with commas as thousands separators in JavaScript
- Properly formatted multiplication table
- Easy pretty printing of floats?
- Convert a date format in PHP
- How to prettyprint a JSON file?
- VBA: Convert Text to Number
- How to format a string as a telephone number in C#
- (Excel) Conditional Formatting based on Adjacent Cell Value
- Switch between Visual and HTML tab freely
- Keep HTML format when switching from Visual to HTML editor
- Why is wp_kses not keeping style attributes as expected?
- Nice way to print_r arrays
- remove tags from the_content
- Completely strip any hidden formatting when pasting into TinyMCE
- Formatting Code Snippets on Free WordPress.com Account?
- disable WP automatically inserted line breaks after an image
- Remove wptexturize from a shortcode?
- Problem in wordpress with “-“
- Place page title in header?
- Automatically decrease font size for long words
- Issue with enabling formatting in excerpts in WordPress
- Create a formatted table-like menu
- Remove hidden formatting when user paste text from MS Word into TinyMCE
- Shortcode from a widget is wrapped in unwanted element
- Email sent from WordPress has HTML tags
- Pasting code into pre-formatted text in Visual Editor not working in 3.3.1
- How to get year, month and hour in WordPress?
- Updating to Version 4.5 bumped my “main sidebar” widget out of place
- Preserve white-space in Page
- WordPress adding tags into plugin content
- Automatically added brs and paragraphs?
- Why is WordPress WYSIWYMG and how do I make it WYSIWYG?
- When calling wp_title(), do you have to create some kind of “title.php” file?
- Formatting post content to exclude gallery
- Why does WP not like my container?
- Add visual editor capability to custom excerpt window?
- Lost formatting after saving
- PHP library that can merge stylesheet with inline style [closed]
- Code Blocks with WYSIWYG in blog post
- Remove whitespace before the_excerpt();
- Keep pasted pre formatted code as it is -with tabs- in visual editor
- Is there a way to disable formatting shortcuts in 4.3?
- Why is this gutenberg custom format button only available from the toolbar as a dropdown?