#3054 closed enhancement (fixed)
input Element Should Be Spared From wpautop()
| Reported by: | GamerZ | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 2.1 |
| Component: | Template | Version: | 2.1 |
| Severity: | trivial | Keywords: | input |
| Cc: | Focuses: |
Description
There is quite a number of html elements spared in wpautop() function, I think input element should be spared too since form element is spared.
Example:
preg_replace('!(<(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|blockquote|address|math|p|h[1-6]|input)[^>]*>)!', "\n$1", $pee);
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I'd be happy to see
<param>and<script>spared too. People have been using some PHP include plugins to load my plugins into their pages and it's laying waste to it's output with<br />'s.