I've been doing some work on using the HTML Tokenizer and HTML Token Set for autop. I didn't get very far, but I have a partially working version now in SVN (in a branch): https://svn.habariproject.org/habari/branches/090214-autoptoken/ and https://svn.habariproject.org/habari/branches/090214-autoptoken/htdocs/system/classes/format.php
In addition, I've set up some unit tests to make sure we're implementing this right, see: - https://svn.habariproject.org/habari/branches/090214-autoptoken/tests/data/autop/ - https://svn.habariproject.org/habari/branches/090214-autoptoken/tests/phpunit/testautop.php (thanks to Mike Lietz for the initial test data) I've set up what is basically an RFC at: http://wiki.habariproject.org/en/User:sean/autop I'm looking for feedback on those issues/questions and to help flesh out what exactly we expect autop to do, and how it should do it. Any feedback is appreciated (here or on the wiki page), as are additional test cases, and patches to the Format class in the autop branch. S --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-dev -~----------~----~----~----~------~----~------~--~---
