Quicktags should be conditionalised on html_type == text/html
|Reported by:||nickshanks||Owned by:||anonymous|
The edToolbar() function called from admin-functions.php:1127 (and included in post and new-page when accessed) calls the document.write() function, which isn't allowed in XHTML, causing much breakage of the site as I cannot post new content!
Recommend wrapping the_quicktags() function with a check for option_html_type == "text/html", and if not equal, do not include quicktags.
Change History (4)
comment:1 nickshanks — 7 years ago
- Summary changed from Quickstart tags should be conditionalised on html_type == text/html to Quicktags should be conditionalised on html_type == text/html