#2037 closed defect (bug) (invalid)
RegEx(TinyMCE Javascript) that should remove whitespace paragraphs (<p> </p>) does not work in Internet Explorer
| Reported by: | mani_monaj | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | trivial | Keywords: | tinymce regex, default blank code |
| Cc: | Focuses: |
Description
When a blank post page loads, WP adds a <p> </p> as a textarea default value, FireFox ignores that and displays a blank HTML code(in HTML View) but Internet Explorer show that up in HTML view!
Andy figured out the problem :
For reasons not yet understood, the JS RegEx that should remove whitespace paragraphs (<p> </p>) does not work in MSIE. This is a back-burner bug for me. Anyone else can jump all over it. The regex is in wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js in the "get_from_editor" section.
Change History (4)
#1
@
21 years ago
- Milestone → 2.0
- Summary RegEx(TinyMCE Javascript) that should remove whitespace paragraphs (<p> </p>) does not in Internet Explorer → RegEx(TinyMCE Javascript) that should remove whitespace paragraphs (<p> </p>) does not work in Internet Explorer
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The empty paragraphs are no longer inserted by default.