protected PrototypicalNodeFactory configureNoAutoCorrectionTags() {

        PrototypicalNodeFactory factory = new PrototypicalNodeFactory();

        CmsNoAutoCloseTag noAutoCloseTag = new CmsNoAutoCloseTag(NO_AUTOCLOSE_TAGS);
        factory.unregisterTag(noAutoCloseTag);
        factory.registerTag(noAutoCloseTag);
        return factory;
    }
protected PrototypicalNodeFactory configureNoAutoCorrectionTags ( ) { PrototypicalNodeFactory factory = new PrototypicalNodeFactory ( ) ; CmsNoAutoCloseTag noAutoCloseTag = new CmsNoAutoCloseTag ( NO_AUTOCLOSE_TAGS ) ; factory . unregisterTag ( noAutoCloseTag ) ; factory . registerTag ( noAutoCloseTag ) ; return factory ; }
Internally degrades Composite tags that do have children in the DOM tree
to simple single tags. This allows to avoid auto correction of unclosed HTML tags.<p>

@return A node factory that will not auto correct open tags