TagSoup - v3.2.0
    Preparing search index...

    Interface ContextualTokenizerOptions

    Options of the createTokenizer that are applied depending on the enclosing context.

    interface ContextualTokenizerOptions {
        areCDATASectionsRecognized?: boolean;
        areProcessingInstructionsRecognized?: boolean;
        areSelfClosingTagsRecognized?: boolean;
        foreignTags?: Record<string, ContextualTokenizerOptions>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    areCDATASectionsRecognized?: boolean

    If true then CDATA sections are recognized.

    false
    
    areProcessingInstructionsRecognized?: boolean

    If true then processing instructions are recognized.

    false
    
    areSelfClosingTagsRecognized?: boolean

    If true then self-closing tags are recognized, otherwise they are treated as start tags.

    false
    
    foreignTags?: Record<string, ContextualTokenizerOptions>

    The map from a foreign tag name to a tokenizer options applied to the tag children.