Add blockquote and del elements.

This commit is contained in:
Danila Fedorin 2021-07-14 12:38:55 -07:00
parent 763e1cd5de
commit 78d7d556e4
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ import { linkify } from "./linkify/linkify.js";
* While <a> has `href`, and <img> has `src`, these have... themselves.
*/
const basicInline = ["EM", "STRONG", "CODE", "DEL", "SPAN" ];
const basicBlock = ["DIV"];
const basicBlock = ["DIV", "BLOCKQUOTE"];
class Deserializer {
constructor(result, mediaRepository) {

View file

@ -93,7 +93,7 @@ export const SVG_NS = "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", "main", "article", "aside",
"p", "strong", "em", "span", "img", "section", "main", "article", "aside", "del", "blockquote",
"pre", "code", "button", "time", "input", "textarea", "label", "form", "progress", "output", "video"],
[SVG_NS]: ["svg", "circle"]
};