Pasting from Office to WordPress is never a clean experience. There are two options: paste as you’re doing and clean up the code later (manually deleting the <strong> </strong>
tags and other bugs), or do as Bas Grave suggested and strip all formatting, then use WP to reformat it. The reason is creating more space is that the space character between the tags adds an extra line.
As you can see from the <ol start="2">
tag WordPress is interpreting item #2 as a completely separate list, which is not good for accessibility or search engines. Stripping the formatting and adding it back in carefully is the safest way to ensure things appear as you want them to – and appear cleanly for screen readers and spiders too.
Related Posts:
- Custom formatting
- has_post_format() vs. get_post_format()
- What difference does it make if I enable support for video post format?
- How do I remove the post format meta box?
- Adding post-formats to Twenty Ten child theme
- Is there a real life use case for post formats except for microbloging?
- Renaming post formats after Gutenberg
- What is the recommended behavior for the post formats?
- Custom Post Formats
- Target all posts that are NOT aside or link post formats
- Filter the first from Quote Post Format
- Displaying all Video Post Formats to Page
- Display Post Format as a String
- Different markup for each post format
- How to recognise on which site the content is being rendered?
- post formats – how to get the relevant content part?
- How to preserve exact formatting when copy pasting from Facebook into WordPress (or elsewhere)?
- Post formats for Pages not saving
- trigger html cleanup for all posts
- Is there any problem if I use get_template_part like this?
- How can I remove the first video from a post and feature it?
- previous_post_link/next_post_link disappear when excluding by post_format
- Usage of post_formats
- how to get list of post formats supported by theme?
- Formatting Standard Post Format
- If post-format == ‘gallery’ conditional
- Adding new post format on plugin activation
- post formats – where’s the difference: “aside” vs. “status”?
- How to get the id or url of the image in an image post?
- About post format
- Smart post format loop problems
- “post-format” code snippets list [closed]
- wordpress post formats
- How to display quote format by preg_match function?
- I would like to have a quote page just to show quotes
- How to display list of video post on video section?
- My custom theme text and content format
- How to treat post formats?
- Post formats and template hierarchy
- Change standard post format metabox
- Next Post Link in format
- Mass post format changer?
- Displaying cf post formats with oembed
- How to customize Date Format for American visitors?
- 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 auto-format code in Eclipse?
- 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
- Adding spaces in multiple lines simultaneously – in Pycharm
- Is There a Difference Between Taxonomies and Categories?
- Switch between Visual and HTML tab freely
- can I add a custom format to the format option in the text panel?
- Keep HTML format when switching from Visual to HTML editor
- Only get_posts of certain post formats
- Change CSS/formatting on specific page, but not pages in general?
- How do I query by post format in WordPress 3.1
- Why is wp_kses not keeping style attributes as expected?
- Are content.php and content-single.php the same?
- Is it possible to rename a post format?
- Nice way to print_r arrays
- remove tags from the_content
- How to set a default format for a custom post type?
- Display/query post formats
- How to filter by post-format in admin?
- post formats – how to switch meta boxes when changing format?
- static variable loop not working in WordPress
- How do I add a new custom post format?
- Completely strip any hidden formatting when pasting into TinyMCE
- How to change text size of Gutenberg editor
- Formatting Code Snippets on Free WordPress.com Account?
- Is it possible to remove the “standard” post format?
- disable WP automatically inserted line breaks after an image
- Content over 10,000 characters won’t display with the_content()
- Remove wptexturize from a shortcode?
- Problem in wordpress with “-“
- Place page title in header?
- How to prevent automatic conversion of dashes to –
- Custom Post Formats for Custom Post Types
- Custom post types vs post formats : future-proofing – is one less “future proof” than another?
- Automatically decrease font size for long words
- Issue with enabling formatting in excerpts in WordPress
- Create a formatted table-like menu
- Does WordPress generate an automatic page for post formats?