Aria Stewart
1/17/2005 9:43:00 PM
On Tue, 2005-01-18 at 06:39 +0900, Patrick May wrote:
> Hello,
>
> One of the nice things about php is that the '<?>' keys are close to
> each other. One of the annoying things about asp and jsp is that '<>'
> use one hand, and '%' uses another.
>
> Attached is a patch to erb.rb that allows ?'s as well as %'s in erb
> templates:
>
> <% puts "this works" %>
> <? puts "as does this" ?>
+1 in concept, because XML standards suggest it this way, too. However,
<?ruby is better, following the XML processing-instructions spec.