Re: asp directives

On Tue, 23 May 2006, 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
If you are unfamiliar with Rails, see
If you are unfamiliar with erb, see

> element.     

Received on Tuesday, 23 May 2006 14:54:22 UTC