[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:
Andreas Dangel
2022-05-26 18:45:30 +02:00
parent 51fa5e400f
commit 3d898527ee

View File

@ -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());
}