質問
こんにちは私はScalate/Scamlの完全なnoobです(scaml&hamlが似ているので、ハムルにタグを付けました)。私はこのように見えるいくつかのテンプレートを持っています:
-@ var customer : com.x.model.Customer
!!!
%html
%body
%p Contact:
%a{:href => 'mailto:#{customer.email}'}=customer.contact
%p行には、このエラーがフラグが付けられています。
org.fusesource.scalate.InvalidSyntaxException: Illegal nesting: content can't be given on the same line as html element or nested within it if the tag is closed at 16.17
正しい解決策はありません
所属していません StackOverflow