Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SB stopped working after writing an unclosed yaml code block #1164

Open
jorti opened this issue Nov 22, 2024 · 0 comments
Open

SB stopped working after writing an unclosed yaml code block #1164

jorti opened this issue Nov 22, 2024 · 0 comments

Comments

@jorti
Copy link

jorti commented Nov 22, 2024

I was writing some note in sync mode and suddently SB stopped responding. Refreshing the web page didn't help and the contents of my note appeared truncated.

Restarting the SB container didn't help too.

The note had some normal markdown text and some code blocks with yaml format. When loading the page I saw this error in the Firefox console:

YAML error can not read a block mapping entry; a multiline key may not be an implicit key (41:1)

 38 | 
 39 | # Title2
 40 | Some text ...
 41 | 

The "# Title2" text was after a yaml block which I forgot to close, so it was trying to evaluate it as yaml. After correctly closing the yaml block in the server, the problem was resolved.

I'm using SilverBullet 0.10.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant