Skip to content

Commit 2c60cae

Browse files
committed
More special cases
1 parent aa57438 commit 2c60cae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/plugins/webson.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ EasyCoder.domain.webson = EasyCoder_Webson;
179179
throw Error(`Mismatched braces in ${input}`);
180180
}
181181
const substr = output.substring(p + 1, q);
182-
if (!['b', '/b', 'i', '/i'].includes(substr)) {
182+
if (!['b', '/b', 'i', '/i', 'br', '/br'].includes(substr)) {
183183
let repl = `<${substr}>`;
184184
try {
185185
const v = eval(substr);

js/plugins/webson.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ EasyCoder.domain.webson = EasyCoder_Webson;
179179
throw Error(`Mismatched braces in ${input}`);
180180
}
181181
const substr = output.substring(p + 1, q);
182-
if (!['b', '/b', 'i', '/i'].includes(substr)) {
182+
if (!['b', '/b', 'i', '/i', 'br', '/br'].includes(substr)) {
183183
let repl = `<${substr}>`;
184184
try {
185185
const v = eval(substr);

0 commit comments

Comments
 (0)