Skip to content

Commit 3969f4e

Browse files
committed
fix(markdown): fix error in markdown parsing
1 parent 5303c0d commit 3969f4e

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

client.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ local function shutdownHandler()
1010
end)
1111
end
1212

13-
if not disableManualShutdown then
14-
AddEventHandler('playerSpawned', shutdownHandler)
15-
end
13+
--if not disableManualShutdown then
14+
-- AddEventHandler('playerSpawned', shutdownHandler)
15+
--end
1616

1717
exports('shutdown', shutdownHandler)

web/assets/markdown_parser.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import {ENABLE_GFM_MARKDOWN, LOADSCREEN_TIPS} from "../config.js";
22
import {cleanUrl} from "./utils.js";
33

4-
// We enable all settings for now
5-
const md = window.markdownit({
6-
html: true,
7-
linkify: true,
8-
typographer: true,
9-
gfm: ENABLE_GFM_MARKDOWN
10-
})
11-
124
window.__openUrl = (url) => window.invokeNative ? window.invokeNative('openUrl', url) : window.open(url)
135

146
const renderer = {

web/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const BACKGROUND_IMAGES = [
4848
]
4949

5050
// Whether we should enable the cursor for the loadscreen
51-
export const ENABLE_CURSOR = false
51+
export const ENABLE_CURSOR = true
5252

5353
// Enable github flavored markdown
5454
export const ENABLE_GFM_MARKDOWN = false

0 commit comments

Comments
 (0)