PTVStyle

Test odd behaviour of PTVS when expanded in block markup

(:BoxWidth:66%:) `BoxWidth is "{$:BoxWidth}"
 BoxWidth is "66%"
Works OK in tables
(:table style="color:yellow; background-color:black; width:{$:BoxWidth}" class='noprint':)
(:cellnr:)

%center% [+++ '''''PmWiki for dummies''''' +++] 

(:tableend:)

PmWiki for dummies

Seems to add an extra space
>>frame color=blue width={$:BoxWidth} <<
!!!  Exploring the PmWiki portal 
>><<
apply=div%

Exploring the PmWiki portal

Works in simple tables
|| width={$:BoxWidth} class=tabtable bgcolor=yellow
|| [- Jump to:  Business Metadata -] &nbsp; || &nbsp; [- Technical Metadata -] &nbsp; || &nbsp; [- Glossary -] ||
Jump to: Business Metadata    Technical Metadata    Glossary
Doesn't seem to work
(:div bgcolor=yellow width={$:BoxWidth} :)
I came, I saw, I `PmWikied
(:divend:)

I came, I saw, I PmWikied


See

  • 00962 - Make >><< behave identically with other block formatting when style= is used
 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.21 00.21 MarkupToHTML end
 5: 00.21 00.21 MarkupToHTML begin
 6: 00.22 00.21 MarkupToHTML end
 7: 00.22 00.21 MarkupToHTML begin
 8: 00.22 00.21 MarkupToHTML end
 9: 00.22 00.21 MarkupToHTML begin
10: 00.22 00.21 MarkupToHTML end
11: 00.22 00.21 MarkupToHTML begin
12: 00.22 00.22 MarkupToHTML end
13: 00.23 00.22 MarkupToHTML end
14: 00.23 00.22 MarkupToHTML begin
15: 00.24 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
16: 00.24 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls end
17: 00.25 00.24 MarkupToHTML end
18: 00.25 00.24 MarkupToHTML begin
19: 00.25 00.24 MarkupToHTML end
20: 00.25 00.24 now
Peak memory: 3,760,864 bytes