[wp-trac] [WordPress Trac] #30986: Consider using an abstract syntax tree for wpautop

WordPress Trac noreply at wordpress.org
Tue Jan 13 04:56:05 UTC 2015


#30986: Consider using an abstract syntax tree for wpautop
-------------------------+------------------------------
 Reporter:  ericlewis    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Formatting   |     Version:  0.71
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by ericlewis):

 Started fooling around with a class for wpautop -
 attachment:class.wpautop.php, which uses PHP's `DOMDocument` class to
 parse HTML.

 It's a rough draft, but curious if folks dig this approach.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30986#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list