Strange formatting issue in text editor after WP update from 4.9.3 to 5.3.1

In 4.9.3 after saving the following in text editor hr/hr the content in XML file under test is as expected: hr/hr

In 5.3.1 after saving the following in text editor hr/hr the content in XML file under test is not as expected: hr /hr (notice the empty space added)

While hr/hr is an incorrect use of the HTML tag, I still would like to understand why the empty space is being added.

Topic wp-editor Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.