#3054 closed enhancement (fixed)
input Element Should Be Spared From wpautop()
Reported by: | GamerZ | Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | low |
Severity: | trivial | Version: | 2.1 |
Component: | Template | Keywords: | input |
Focuses: | Cc: |
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.
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.