Changes between Version 2 and Version 3 of Ticket #45636, comment 5
- Timestamp:
- 12/17/2018 09:39:57 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #45636, comment 5
v2 v3 7 7 The Doc block of `function removep( hrml ) { ... }` (in **/wp-admin/js/editor.js**) states: 8 8 9 * Replaces <p> tags with two line breaks **except where the <p> has attributes**. 9 `Replaces <p> tags with two line breaks except where the <p> has attributes` 10 11 12 Line no. 918 13 14 `html = html.replace( /\s*<\/p>\s*/gi, '\n\n' );` 15 16 I think if we can get rid of this the issue might resolve.