I am compiling a page template and I get this message: Compilation failed TAL.TALDefs.METALError: METAL attributes on <div> require explicit </div>, at line 203, column 1 I have checked my code and there is definitely a matching </div> for every <div> on the page. Does anyone know how to go about debugging this? The tag at line 203, column 1 is <div metal:fill-slot="main"> if that makes any difference. T.
For the benefit of the archive, this error was being caused by malformed HTML tags within the <div> in question. Lesson: Insist your web designers validate their HTML before you use it within a Zope Page Template! T.
I am compiling a page template and I get this message:
Compilation failed TAL.TALDefs.METALError: METAL attributes on <div> require explicit </div>, at line 203, column 1
I have checked my code and there is definitely a matching </div> for every <div> on the page. Does anyone know how to go about debugging this?
The tag at line 203, column 1 is <div metal:fill-slot="main">
participants (1)
-
Tom Nixon