- From: Hugh Sasse <hgs@dmu.ac.uk>
- Date: Tue, 23 May 2006 14:17:05 +0100 (WEST)
- To: ve3ll@rac.ca
- cc: www-amaya@w3.org
On Tue, 23 May 2006, ve3ll@rac.ca wrote:
>
> asp directives begin with <% and end with %>
Not just asp. erb ( Ruby -- for example Ruby on Rails, and PHP) use
these and variants: <%= ... %>, <%= ... -%> possibly others.
>
> they are not well formed elements so that is why the removal.
> perhaps you can recognize them as a comment and just leave
> them alone but as they don't close, they cant be treated like an
You mean <.../> by don't close? Yes, similar to comments and XML
directives <?...> Note that for at least Ruby % is an escape
character within <%...%>, to allow inserting %> inside a section
of ruby.
If you are unfamiliar with Ruby, see http://www.ruby-lang.org/
If you are unfamiliar with Rails, see http://www.rubyonrails.com/
If you are unfamiliar with erb, see
http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/
> element.
>
>
Hugh
Received on Tuesday, 23 May 2006 14:54:22 UTC