remove spaces
This commit is contained in:
parent
a4962f03a5
commit
fdf21bf0eb
2
index.ts
2
index.ts
|
@ -1,4 +1,4 @@
|
|||
const version = "2.4.0";
|
||||
const version = "2.4.1";
|
||||
import x2i from "./x2i";
|
||||
import { existsSync } from "fs";
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ export default function x2i(content: string) {
|
|||
const parts = match.slice(2, 6);
|
||||
if (parts.length === 4) {
|
||||
var [k, l, m, r] = parts;
|
||||
if (k === "hi") { m = m.toLowerCase() }
|
||||
if (k === "hi") { m = m.replace(/\s/g, '').toLowerCase() }
|
||||
const converted = force(k, l, m, r); // eg x, [, text, ]
|
||||
|
||||
if (converted) {
|
||||
|
|
Loading…
Reference in New Issue