You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Eric DE MAULDE <er...@free.fr> on 2008/09/10 12:57:03 UTC

Resolved : Freemarker and XHTML

OK : My navigator "view selection source" (Firefor 3) doesn't display "/" or 
end-tags
Thanks

Eric
----- Original Message ----- 
From: "Adrian Crum" <ad...@hlmksw.com>
To: <us...@ofbiz.apache.org>
Sent: Wednesday, September 10, 2008 2:12 AM
Subject: Re: Freemarker and XHTML


>I don't think the problem is Freemarker's fault. You can look at the page 
>source of any OFBiz web page and see plenty of closing tags.
>
> Take a closer look at what you're doing.
>
> -Adrian
>
> Eric DE MAULDE wrote:
>> Hi,
>>
>> When I write a HTML tag without end-tag, in a Freemarker file,
>> I would like to be conform with XHTML
>> ex. <img ... /> <br/>
>>
>> But Freemarker deletes "/" at the tag end, or it deletes the end-tag 
>> </img>, </br>
>> in the case <img ...></img>, <br></br>
>>
>> Do you have a solution to preserve XHTML ?
>>
>> Thanks
>>
>> Eric
>>
>>
>