aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
Diffstat (limited to 'webAO')
-rw-r--r--webAO/utils/__tests__/aoml.test.ts2
-rw-r--r--webAO/utils/aoml.ts1
2 files changed, 1 insertions, 2 deletions
diff --git a/webAO/utils/__tests__/aoml.test.ts b/webAO/utils/__tests__/aoml.test.ts
index fa8ade4..90967d7 100644
--- a/webAO/utils/__tests__/aoml.test.ts
+++ b/webAO/utils/__tests__/aoml.test.ts
@@ -99,7 +99,7 @@ mockRequest.mockReturnValue(Promise.resolve(networkRequest))
const config = mlConfig('localhost')
const actual = await config.applyMarkdown(`~NO[]~!`, `white`)
- const expected = `]`
+ const expected = ``
expect(actual[4].innerHTML).toBe(expected)
})
it('Should remove a closing letter if remove = 1', async () => {
diff --git a/webAO/utils/aoml.ts b/webAO/utils/aoml.ts
index fb26db8..da66d0c 100644
--- a/webAO/utils/aoml.ts
+++ b/webAO/utils/aoml.ts
@@ -69,7 +69,6 @@ const mlConfig = (AO_HOST) => {
let currentIdentifier = identifiers.get(letter)
const currentClosingLetter = closingStack[closingStack.length-1]
const keepChar = Number(currentIdentifier?.remove) === 0
- console.log(currentClosingLetter, letter, keepChar)
if (startIdentifiers.has(letter)) {
const color = identifiers.get(letter).color.split(',')