[pmwiki-users] Bold markup doesn't work in tables or blocks anymore

Jean DEMARTINI jean.d.demartini at wanadoo.fr
Wed Mar 8 10:52:51 CST 2006


Daniel Friedmann a écrit :
> Hello
>
> Now that Pm has successfully helped me fixing my config so that I can 
> use recent betas again, it's time to go on fixing some other problems. 
> I'm using latest beta 36 and my local/config.php is "Pm-approved". ;-)
>
> I noticed that several formats are no longer applied, e.g. bold markup 
> doesn't work in tables or blocks anymore.
>
> Page with non-working bold text in block:
> http://spampal.de/pmwiki/pmwiki.php/Anleitung/Install
>
> Wiki source:
> %block bgcolor=#ffffcc border='1px solid black' padding=5px% 
> %red%[+'''Achtung: Unfertige Anleitung!'''+]\\
> Diese Seite muss erst noch '''überarbeitet''' werden, bevor sie wirklich 
> im Detail verwendet werden kann.
>
> Page with non-working bold text in table:
> http://spampal.de/pmwiki/pmwiki.php/Anleitung/TextbausteinLoginBeispiele
>
> Wiki source:
> ||align=center border=1 cellpadding=5 cellspacing=0 
> style=background:#CCDDFF;
> || [+'''{+Vor+} der Installation von SpamPal'''+] || 
> [+'''%red%{+Nach+}%% der Installation von SpamPal'''+] ||
> || [+'''Beispiel 1'''+] ||||
> ||Eingehender POP3-Server: '''pop3.anbieter.de''' ||Eingehender 
> POP3-Server: '''localhost''' ''oder'' '''127.0.0.1''' ||
> ||POP3-Benutzername: '''benutzer at anbieter.de''' ||POP3-Benutzername: 
> '''benutzer at anbieter.de%red%@%%pop3.anbieter.de''' ||
> || [+'''Beispiel 2'''+] ||||
> ||Eingehender POP3-Server: '''mail.anbieter.com''' ||Eingehender 
> POP3-Server: '''localhost''' ''oder'' '''127.0.0.1''' ||
> ||POP3-Benutzername: '''benutzername''' ||POP3-Benutzername: 
> '''benutzername%red%@%%mail.anbieter.com''' ||
> || [+'''Beispiel 3'''+] ||||
> ||Eingehender POP3-Server: '''192.168.1.1''' ||Eingehender POP3-Server: 
> '''127.0.0.1''' ''oder'' '''localhost''' ||
> ||POP3-Benutzername: '''benutzername''' ||POP3-Benutzername: 
> '''benutzername%red%@%%192.168.1.1''' ||
>
> This table also has some strange characters "]" and "[" which I can't 
> get rid of trying various markup. The first line of the table is printed 
> like:
> Vor der Installation von SpamPal] [Nach der Installation von SpamPal
>
> Please feel free to (try to) correct the markup either on the list or 
> directly in my wiki. Thank you!
>   
I have noticed the same phenomenon and the only way to cure the strange 
behaviours I found is to insert a 'space' between adjacent markups such 
as in :

before : [+'''{+Vor+} der Installation von SpamPal'''+]
after : [+'''{+Vor+} der Installation von SpamPal''' +]

I have directly modified the link which was provided.

JDem
PS: it's a little magic. I suppose that regex are sometimes surprised by 
adjacent markups.






More information about the pmwiki-users mailing list