Does the comment have to be sent to the browser? Velocity has comments (## comments a single line and #* *# comments a block), but the text will only be visible when viewing or editing the code and won't be sent to the browser. -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Friday, September 01, 2006 5:23 AM To: [email protected] Subject: Re: [xwiki-users] Issue with HTML comment. '--' is used in Wiki syntax for other things, I was wondering how to add HTML comments also. -------------- Original message ---------------------- From: Jean-Lou Dupont <[email protected]>
FYI: If one is to insert an HTML comment at the end of a document and save it, the rendered document is completely garbled.
e.g.
<input type="text" name="title" value="page name" size="18"/> <input type="button" value="Create this Space" onclick='if (updateName(this.form.title,this.form.name)){ action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }' /> </form> </div> <!-- This is the end of the document -->
jld.
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.7/435 - Release Date: 31/08/2006