When $PubDirUrl is allowed its default value, the following wiki markup (:div2 class="header-content" style="height:84px;background-image:url({$SkinSharedDirUrl}/garden_bg.jpg);":)
(where $FmtPV['$SkinSharedDirUrl'] = '$GLOBALS["SkinDirUrl"]';) (I've simplified somewhat) results in this incorrect interpolation : <div style="background-image:url(<img src='http://aa-testwebsite.osscommons.org/wiki/pub/skins/FoldersCMSSummer/garden_bg.jpg' alt='' title='' />);" > (note the "<img" html within the "url(" spec embedded in the style attribute value) Whereas if I set $PubDirUrl with a domain root-based path: $PubDirUrl = '/wiki/pub'; #prevent unwanted conversion to full url in style url(.. strings Then the correct interpolation takes place: <div style="background-image:url(/wiki/pub/skins/FoldersCMSSummer/FoldersCMSSummer-shared/garden_bg.jpg);" > Apparently the type of interpolation depends on the format of the PageVariable. I'm not quite sure what to say about this, so I'll just report it as is, in case it requires action, or in case I'm implementing an inappropriate workaround. - Henrik -- Henrik Bechmann bechmann.ca _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel