https://bugzilla.wikimedia.org/show_bug.cgi?id=38797
--- Comment #5 from seth <[email protected]> 2012-08-05 08:39:17 UTC --- Then one of the following solutions would be better: '/[^=|!+#:;]\K (?=[?:;!%]|\\302\\273)/' => ' ' or even a separate substitution '/[^=|!+#:;]\K (?=[?:;!]|\\302\\273)/' => ' ' '/[0-9]\K (?=%)/' => ' ' Of course, there may occur things like "a %" or "(a+b) %" but I guess, in those (rare) cases tex or a manual ' ' or ' ' should be used instead. Bug #18443 (meanwhile marked as a duplicate of bug #13619) gives a typographically better solution of the replacement part: '/[0-9]\K (?=%)/' => '<span style="margin-left:0.167em"><span style="display:none"> </span></span>' Looks horrible, but is a great (and tested) solution, concerning readability of wiki source code and usability. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
