forked from phoedos/pmd
[html] Add additional file extensions htm, xhtml, xht, shtml
xhtml and xht is application/xhtml+xml shtml is text/html with server side includes
This commit is contained in:
@ -13,7 +13,7 @@ public final class HtmlLanguageModule extends BaseLanguageModule {
|
||||
public static final String TERSE_NAME = "html";
|
||||
|
||||
public HtmlLanguageModule() {
|
||||
super(NAME, null, TERSE_NAME, "html");
|
||||
super(NAME, null, TERSE_NAME, "html", "htm", "xhtml", "xht", "shtml");
|
||||
addDefaultVersion("", new HtmlHandler());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user