[pmwiki-users] Syntax use of %style=margin-left:50px%{=$:Version}

ABClf languefrancaise at gmail.com
Fri Sep 10 09:20:06 PDT 2021


Hello,

I'm still playing with style and css and have a question about what
looks to me like unexpected behaviour related to the use and syntax
needed for inline styling :

while formatting pagelist, writing,
%style="margin-left:50px%{=$:Version}
does clean left marging ;

whereas writing,
%style="margin-left:50px%"{=$:Version}
or
%style=margin-left:50px%{=$:Version}
does print out an unexpected " (quote sign).

To me it looks like the parsing might not be working as it should.
Am I wrong somewhere ?

Test page done here :
https://www.pmwiki.org/wiki/Test/InlineStyle

Thank you.
Gilles.



More information about the pmwiki-users mailing list