[pmwiki-users] AllGroupFooter : problem with align right
Stéphane Heckel
hsteph at club-internet.fr
Wed May 9 11:04:02 CDT 2007
"Patrick R. Michaud" wrote :
> It might be better to have {align:right} output a <div>...</div>
> instead of converting to a wikistyle markup. Then it's more
> likely to look correct.
How could I integrate the <div> in this markup function ? the function below
does not work, ...
and I have a "Parse error: parse error, unexpected T_STRING in C:\Program
Files\EasyPHP\ww2\cookbook\confluence.php on line 99"
(where the div99 is)
Markup('{align:}', 'fulltext',
'/\\{align:(left|right|center)\\}(.*?)\\{align\\}/s'
'(:div99 style='text-align:$1;':)(:nl:)$2(:nl:)(:div99end:)');
> or else the AllGroupFooter should explicitly close
> any open divs with >><< .
Exact, good tip !
SH
More information about the pmwiki-users
mailing list