[pmwiki-users] markup parse issue

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 10 10:33:57 CST 2009


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



More information about the pmwiki-users mailing list