Skip to content

Commit

Permalink
Merge pull request #3978 from adangel:html-extensions
Browse files Browse the repository at this point in the history
[html] Add additional file extensions htm, xhtml, xht, shtml #3978
  • Loading branch information
adangel committed May 28, 2022
2 parents 16df537 + 0eb745e commit 3779a54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/pages/release_notes.md
Expand Up @@ -92,6 +92,7 @@ ruleset. Use the new rule {% rule java/codestyle/UnnecessarySemicolon %} instead
* [#2752](https://github.com/pmd/pmd/issues/2752): \[go] Error parsing unicode values
* html
* [#3955](https://github.com/pmd/pmd/pull/3955): \[html] Improvements for handling text and comment nodes
* [#3978](https://github.com/pmd/pmd/pull/3978): \[html] Add additional file extensions htm, xhtml, xht, shtml
* java
* [#3423](https://github.com/pmd/pmd/issues/3423): \[java] Error processing identifiers with Unicode
* java-bestpractices
Expand Down
Expand Up @@ -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());
}

Expand Down

0 comments on commit 3779a54

Please sign in to comment.