[wp-trac] [WordPress Trac] #3054: input Element Should Be Spared
From wpautop()
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 19 19:57:17 GMT 2006
#3054: input Element Should Be Spared From wpautop()
-------------------------+--------------------------------------------------
Reporter: GamerZ | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.1
Component: Template | Version: 2.1
Severity: trivial | Keywords: input
-------------------------+--------------------------------------------------
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:
{{{
#!php
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);
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/3054>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list