00488: percents in WikiStyles don't work
As I've demonstrated in TestStyles, the WikiStyles markup doesn't properly parse styles containing: a dot (therefore, non-integers crash whole style definition), and a percent sign (ends the style definition prematurely).
Considering percents: I believe it's possible to extend regexps in
scripts/wikistyles.php in such a way, that strings in apostrophes and quotes were considered separately. That is (simplyfing), not something like:
but more of a:
However, when I looked at
wikistyles.php, I found there are more regexps to modify than simply
$WikiStylePattern... aargh... is it possible for a human to modify that?...
It's not quite this simple, because we can't assume that every % is indicating a wikistyle. Sometimes a percent is just a %, and we don't want to assume that anything that is in a pair of percent signs is automatically a wikistyle (as happens in this line).
Suspending because it's a difficult problem to solve -- need more high-priority votes to reactivate. --Pm
I've gone ahead and enabled "pct" as a synonym for "%" in wikistyles, thus someone who wants to specify
width=50% can use
width=50pct. Added for 2.1.beta1.