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?
- How to print elements from array with javascript
- What does {0} mean when found in a string in C#?
- How to print a number with commas as thousands separators in JavaScript
- How to prettyprint a JSON file?
- Is There a Difference Between Taxonomies and Categories?
- can I add a custom format to the format option in the text panel?
- Why is wp_kses not keeping style attributes as expected?
- Display/query post formats
- Problem in wordpress with “-“
- Place page title in header?
- Shortcode from a widget is wrapped in unwanted element
- Email sent from WordPress has HTML tags
- How to get year, month and hour in WordPress?
- Help altering a query to exclude all but standard post format
- Use a language specific thousand separator
- Remove whitespace before the_excerpt();
- Exclude Post Format from next_post and prev_post
- Filter string like a slug
- Filter the_content() in the Quote Post Format to Display Quotes
- Stop auto formatting in shortcodes
- Displaying Archives List
- How to Link to all posts that have the Standard Post Format
- How to use format post in a pertinent way
- Difficulty with PHP function that displays a post’s format in WordPress
- How can I prevent WordPress to wrap into a paragragraph
- Understanding Post Formats/Custom Post types Etc
- Stop wordpress from adding html tags but not remove my own tags?
- post_class() breaks out of formatting. . . extra markup also generated
- Is it possible to customize the post according to post format in single.php?
- Taxonomy – Exclude post format from showing on page
- What does the Global Variable $s represent?
- WordPress no longer holding post formatting
- display post format text in loop
- Remove formatting in rich text with Gutenbergs Block editor
- Editing the formatting.php file vs functions.php file?
- Trim content without stripping formatting
- Calling PHP Titles inside Javascript Markup
- Changing the code format for wordpress
- Wrap posts p tags in div
- Add Post Format Support to Twentyeleven Child Theme
- Display KML (or other “raw data” file) nicely in WP?
- why doesnt my formatting work in my wisiwig editor?
- Formatting error with source code on WordPress.com?
- How can I globally italicize list of texts in the UI database or Posts? [closed]
- CSS appears to not work on any WordPress theme
- Preparing Hardcopy and Online Page
- Object of class WP_Error could not be converted to string in /formatting.php
- How to get all posts in gallery post format template
- How to paste source code from IDE to posts directly?
- WordPress options text format
- Multiple item layout with one query
- Generating a number based on post ID
- Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]
- How to query posts from single post format on Genesis framework
- Decimal stripped from metabox number