public HtmlPolicyBuilder allowWithoutAttributes ( String ... elementNames ) { invalidateCompiledState ( ) ; for ( String elementName : elementNames ) { elementName = HtmlLexer . canonicalName ( elementName ) ; skipIfEmpty . remove ( elementName ) ; } return this ; }
Assuming the given elements are allowed allows them to appear without attributes .