Bug Report
Problem Description and Reprodu ction Steps
Obsidian cannot handle my blog post at all. This post cannot be edited, and it even throws an error and fails to open when I click to access it. All other posts work normally.
I checked but found no hidden characters in the post, which is very strange.
The error message is as follows:
Uncaught (in promise) TypeError: t.hideFirstChars is not a function
at h (modes.min.js:142:1412)
at Object.token (modes.min.js:142:2656)
at Object.local (markdown.js:333:28)
at Object.token (markdown.js:938:18)
at app.js:1:1616416
at Vd (app.js:1:652114)
at d (app.js:1:650682)
at e.parseLine (app.js:1:651118)
at e.advance (app.js:1:648781)
at app.js:1:617196
The problematic Markdown file is available at:
github/musnows/musnows/blob/main/data/err_ob_post.md
I have posted this question on the Chinese version of the forum, and a community member replied that it is related to the Pug code block in the Markdown file. However, I don’t have my macbook with me right now, so I can’t test this temporarily.
Have You Performed Troubleshooting as Per the Bug Troubleshooting Guide?
Yes, I reinstalled Obsidian and tested it in sandbox mode, but the error still occurred (as shown in the image). The post remains completely uneditable.
Expected Outcome
The post should be editable normally.
Current Obsidian Version and Installation Environment
Device: macOS 15.4 arm m3
SYSTEM INFO:
Obsidian version: v1.9.14
Installer version: v1.9.14
Operating system: Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:23 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8122 24.3.0
Login status: not logged in
Language: zh
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none