[ic] RFC: Interchange Tags in HTML comments

James Turnbull james at scotwebshops.com
Mon Sep 6 09:50:05 EDT 2004


On 6 Sep 2004, at 11:10, Stefan Hornburg wrote:

> currently the Interchange parser strips HTML comments wrapping 
> Interchange tags.

I recently discovered this 'feature' by accident and it took me a while 
to work out where my html comment were going. However it's worth noting 
in this thread that there is a workaround for current interchange 
versions.

> Example:
> <!--[data session browser]-->
> Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera 7.54 [en]

Using the same examples...

<!-- [data session browser] -->
  will give the desired
<!-- Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera 7.54 
[en] -->

> [tmp stuff]horse[/tmp]
>
> this works:[if scratch stuff eq horse]<[/if]
> this works:[if scratch stuff eq horse]<![/if]
>
> this doesnt work:[if scratch stuff eq horse]<!--[/if]
> this doesnt work:[if scratch stuff eq horse]-->[/if]

this works:[if scratch stuff eq horse] <!-- [/if]
this works:[if scratch stuff eq horse] --> [/if]

Despite this i think the feature should still be dropped - it seems to 
serve no worthwhile purpose (IMO).

James Turnbull

-- 
James Turnbull           james at scotwebshops.com
Web & Database Developer, Scotweb Marketing Ltd
===============================================
http://www.scotweb.co.uk     info at scotweb.co.uk
13a Albert Terrace, Edinburgh EH10 5EA



More information about the interchange-users mailing list