I told you that in person, but I'll write it here too, for others:

I believe the module should have an Admin panel with 2 text fields:
1. let the user enter a list of tags the module should affect, like: "p span div pre" etc.
2. let the user add a list of chars to be skipped, something like: "0123456789()*,/;" etc.(with a default set of course) and add a regex with a loop to match for them until it reaches a char that is not in there, and then start the directionality check.

Comments

z.stolar’s picture

Version 6.x-1.2 improves the directionality determination, so any non-word (including spaces and punctuations) and digits, in the beginning of a line, are ignored, and only the first alphabetic character is checked.
Future improvements might include more directionality influenced tags, but for the moment, P is the only affected one.

z.stolar’s picture

Latest CVS version includes support for more block level elements.
More to come.

z.stolar’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.