Erreur Scaml «nidification illégale»
Question
Salut, je suis un noob total à Scated / Scaml (j'ai marqué HAML car Scaml & Haml sont similaires). J'ai un modèle qui ressemble à ceci:
-@ var customer : com.x.model.Customer
!!!
%html
%body
%p Contact:
%a{:href => 'mailto:#{customer.email}'}=customer.contact
La ligne% P est signalée avec cette erreur:
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
Pas de solution correcte
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow