forked from mystiq/hydrogen-web
Add blockquote and del elements.
This commit is contained in:
parent
763e1cd5de
commit
78d7d556e4
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import { linkify } from "./linkify/linkify.js";
|
||||||
* While <a> has `href`, and <img> has `src`, these have... themselves.
|
* While <a> has `href`, and <img> has `src`, these have... themselves.
|
||||||
*/
|
*/
|
||||||
const basicInline = ["EM", "STRONG", "CODE", "DEL", "SPAN" ];
|
const basicInline = ["EM", "STRONG", "CODE", "DEL", "SPAN" ];
|
||||||
const basicBlock = ["DIV"];
|
const basicBlock = ["DIV", "BLOCKQUOTE"];
|
||||||
|
|
||||||
class Deserializer {
|
class Deserializer {
|
||||||
constructor(result, mediaRepository) {
|
constructor(result, mediaRepository) {
|
||||||
|
|
|
@ -93,7 +93,7 @@ export const SVG_NS = "http://www.w3.org/2000/svg";
|
||||||
export const TAG_NAMES = {
|
export const TAG_NAMES = {
|
||||||
[HTML_NS]: [
|
[HTML_NS]: [
|
||||||
"br", "a", "ol", "ul", "li", "div", "h1", "h2", "h3", "h4", "h5", "h6",
|
"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"],
|
"pre", "code", "button", "time", "input", "textarea", "label", "form", "progress", "output", "video"],
|
||||||
[SVG_NS]: ["svg", "circle"]
|
[SVG_NS]: ["svg", "circle"]
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue