Strophe.js
    Preparing search index...

    Variable XHTMLConst

    XHTML: {
        attributes: {
            a: string[];
            blockquote: string[];
            body: never[];
            br: never[];
            cite: string[];
            em: never[];
            img: string[];
            li: string[];
            ol: string[];
            p: string[];
            span: string[];
            strong: never[];
            ul: string[];
        };
        css: string[];
        tags: string[];
    } = ...

    Contains allowed tags, tag attributes, and css properties. Used in the Strophe.createHtml function to filter incoming html into the allowed XHTML-IM subset. See XEP-0071 for the list of recommended allowed tags and their attributes.

    Type Declaration

    • attributes: {
          a: string[];
          blockquote: string[];
          body: never[];
          br: never[];
          cite: string[];
          em: never[];
          img: string[];
          li: string[];
          ol: string[];
          p: string[];
          span: string[];
          strong: never[];
          ul: string[];
      }
    • css: string[]
    • tags: string[]