On Mon, Feb 09, 2009 at 08:09:04PM -0500, Henrik Bechmann wrote: > All, > > I have the following markup: > > (:div2 class="header-content" > style="height:84px;background-image:url({$SkinDirUrl}/garden_bg.jpg);":) > > (I've added background-image to the $WikiStyleCSS[] array) > > But PmWiki is parsing the image fragment as an element, and creates an > embedded image element thus: > > background-image:url(<img > src='http://parkcommons.ca/shared/wiki/app/pub/skins/FoldersCMSBase/garden_bg.jpg' > > alt='' title='' />) > > ...which of course is a css error.
I've been thinking that perhaps we should define ":url(...)" as a lazy form of [=...=] that protects its contents from being treated as a link. Then the above would work. Pm _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users