Hotfix markdown parser (#1575)
This commit is contained in:
parent
acd994e60f
commit
b0001f181e
|
@ -17,6 +17,11 @@ export default class SimpleMarkdownExt {
|
|||
return original;
|
||||
}}});
|
||||
|
||||
for (const type in newRules) {
|
||||
if (!newRules[type].requiredFirstCharacters) continue;
|
||||
newRules[type].requiredFirstCharacters = Object.values(newRules[type].requiredFirstCharacters);
|
||||
}
|
||||
|
||||
this._parse = SMD.parserFor(newRules);
|
||||
this._renderer = SMD.reactFor(SMD.ruleOutput(newRules, "react"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue