Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Issue checkstyle#4164: Custom tags' content not to be parsed as HTML
  • Loading branch information
voidfist committed May 27, 2017
1 parent a43191d commit c8b48b0
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -224,7 +224,8 @@ LINK_LITERAL : '@link' -> pushMode(seeLink);
LINKPLAIN_LITERAL : '@linkplain' -> pushMode(seeLink);
LITERAL_LITERAL : '@literal' {recognizeXmlTags=false;} -> mode(code);
VALUE_LITERAL : '@value' -> pushMode(value);
CustomName1: '@' [a-zA-Z0-9:._-]+ -> type(CUSTOM_NAME), mode(DEFAULT_MODE);
CustomName1: '@' [a-zA-Z0-9:._-]+ {recognizeXmlTags=false;}
-> type(CUSTOM_NAME), mode(DEFAULT_MODE);
Char6: . -> type(CHAR), mode(DEFAULT_MODE);
//////////////////////////////////////////////////////////////////////////////////////
mode code;
Expand Down

0 comments on commit c8b48b0

Please sign in to comment.