regards lines starting with ’%’ as program code
this is for compatibility to eruby and ERB.
this is language-independent.
[Source]
# File erubis/enhancer.rb, line 516 def add_text(src, text) unless @prefixrexp @prefixchar = '%' @prefixrexp = /^\%(.*?\r?\n)/ end super(src, text) end
[Validate]