Error parsing MD Text #4444

Closed
opened 2026-02-05 08:54:11 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @KarstenHahn on GitHub (Jan 31, 2024).

Describe the Bug

Hello,
if I enter some special text in the MD Editor, a white screen appears. No log information is available.

I also tried it on your demo-bookstack Instance an can reproduce the error

Steps to Reproduce

  • Edit a page
  • Enter this:

Steps:

  1. Download agent
wget https://abc

as an example

  • save page
  • white screen appears.

Expected Behaviour

saving with no errors will be done

Screenshots or Additional Context

No response

Browser Details

Edge, Firefox

Exact BookStack Version

BookStack v23.12.1

Originally created by @KarstenHahn on GitHub (Jan 31, 2024). ### Describe the Bug Hello, if I enter some special text in the MD Editor, a white screen appears. No log information is available. I also tried it on your demo-bookstack Instance an can reproduce the error ### Steps to Reproduce * Edit a page * Enter this: #### Steps: 1. Download agent ```bash wget https://abc ``` as an example * save page * white screen appears. ### Expected Behaviour saving with no errors will be done ### Screenshots or Additional Context _No response_ ### Browser Details Edge, Firefox ### Exact BookStack Version BookStack v23.12.1
OVERLORD added the 🐛 Bug label 2026-02-05 08:54:11 +03:00
Author
Owner

@KarstenHahn commented on GitHub (Jan 31, 2024):

In addition: I've seen that the problematic MD text will be rendered in GITHUB issue, I've added the MD as an attachment
md.txt

@KarstenHahn commented on GitHub (Jan 31, 2024): In addition: I've seen that the problematic MD text will be rendered in GITHUB issue, I've added the MD as an attachment [md.txt](https://github.com/BookStackApp/BookStack/files/14113016/md.txt)
Author
Owner

@ssddanbrown commented on GitHub (Jan 31, 2024):

Hi @KarstenHahn,
Thanks for raising.
Strange though, I cannot reproduce this on my dev instance, nor our demo instance; All works fine.

Tested via both creating and updating a page, in both Firefox and Chrome.

@ssddanbrown commented on GitHub (Jan 31, 2024): Hi @KarstenHahn, Thanks for raising. Strange though, I cannot reproduce this on my dev instance, nor our demo instance; All works fine. Tested via both creating and updating a page, in both Firefox and Chrome.
Author
Owner

@KarstenHahn commented on GitHub (Jan 31, 2024):

Hello,
mysterious. I have tested it again, it works on my instance and on the demo instance.
Maybe a problem with the character set when copying from the clipboard?
Never mind. Now it works.
Thanks for the quick response and best regards, Karsten

@KarstenHahn commented on GitHub (Jan 31, 2024): Hello, mysterious. I have tested it again, it works on my instance and on the demo instance. Maybe a problem with the character set when copying from the clipboard? Never mind. Now it works. Thanks for the quick response and best regards, Karsten
Author
Owner

@ssddanbrown commented on GitHub (Jan 31, 2024):

Good to hear it's now working.
I'll therefore close this off.

@ssddanbrown commented on GitHub (Jan 31, 2024): Good to hear it's now working. I'll therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4444