Skip to content

Commit

Permalink
Merge pull request #923 from vector-im/madlittlemods/dialog-details-o…
Browse files Browse the repository at this point in the history
…ptgroup-html-elements

Add `<dialog>`, `<details>`, and `<optgroup>` HTML elements to use with templating
  • Loading branch information
bwindels authored Dec 5, 2022
2 parents 308bbee + 1aba18c commit 86e9e0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platform/web/ui/general/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ export const SVG_NS: string = "http://www.w3.org/2000/svg";
export const TAG_NAMES = {
[HTML_NS]: [
"br", "a", "ol", "ul", "li", "div", "h1", "h2", "h3", "h4", "h5", "h6",
"p", "strong", "em", "span", "img", "section", "header", "main", "footer",
"article", "aside", "del", "blockquote",
"p", "strong", "em", "span", "img", "section", "header", "main", "footer", "dialog",
"article", "aside", "del", "blockquote", "details", "summary",
"table", "thead", "tbody", "tr", "th", "td", "hr",
"pre", "code", "button", "time", "input", "textarea", "select", "option", "label", "form",
"pre", "code", "button", "time", "input", "textarea", "select", "option", "optgroup", "label", "form",
"progress", "output", "video", "style"],
[SVG_NS]: ["svg", "g", "path", "circle", "ellipse", "rect", "use"]
} as const;
Expand Down

0 comments on commit 86e9e0c

Please sign in to comment.