[pmwiki-users] markup parse issue

Henrik Bechmann henrik.bechmann at sympatico.ca
Mon Feb 9 19:09:04 CST 2009


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.

Is there anything I can do to just get

background-image:url(http://parkcommons.ca/shared/wiki/app/pub/skins/FoldersCMSBase/garden_bg.jpg)

?

(I thought I had this working, but just noticed it isn't)

Thanks,

- Henrik

-- 

Henrik Bechmann
bechmann.ca




More information about the pmwiki-users mailing list