开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜