Validating ftl pages with W3C Markup Validation Service
Is there any way I can validate ftl pages with Markup Validation Service? I renamed my files to be .html, but I'm still gett开发者_JAVA技巧ing errors on tags that are written differently. For example, <#import "layout.ftl" as layout/> is not a valid import tag for an html file. Is there any way I can ignore ftl tags?
You would usually validate the end result, not the source template. There is no way to remove foreign tags in the core W3C validator.
精彩评论