mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-26 23:52:24 +00:00
create a commit to pass test and create a vercel preview
This commit is contained in:
parent
25905d3cc6
commit
f91a57b710
@ -235,7 +235,8 @@ WikiParser.prototype.parseBlock = function(terminatorRegExpString) {
|
||||
var children = this.parseInlineRun(terminatorRegExp);
|
||||
var end = this.pos;
|
||||
if (children[0].type === "text" ||
|
||||
($tw.config.htmlBlockElements.indexOf(children[0].tag) === -1 && children[0]?.tag?.charAt(0) !== "$")) {
|
||||
(($tw.config.htmlBlockElements.indexOf(children[0].tag) === -1) && children[0] &&
|
||||
children[0].tag && children[0].tag.charAt(0) !== "$")) {
|
||||
return [{type: "element", tag: "p", children: children, start: start, end: end }];
|
||||
} else {
|
||||
return children;
|
||||
|
Loading…
x
Reference in New Issue
Block a user