URLs with brackets fails in markdown #264

Closed
opened 2026-02-04 18:08:42 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @rlex on GitHub (Feb 8, 2017).

  • BookStack Version: 0.14.1
  • PHP Version: 7.0.9
  • MySQL Version: 5.7
Expected Behavior
[Syntax](http://en.wikipedia.org/wiki/Syntax_(programming_languages))

Should produce link "Syntax" with href

http://en.wikipedia.org/wiki/Syntax_(programming_languages)
Actual Behavior

Instead, it produces link "Syntax)" with url

http://en.wikipedia.org/wiki/Syntax_(programming_languages

This can be avoided if using %29 instead of bracket, and URL works this way, but still looks like a bug.

Originally created by @rlex on GitHub (Feb 8, 2017). * BookStack Version: 0.14.1 * PHP Version: 7.0.9 * MySQL Version: 5.7 ##### Expected Behavior ``` [Syntax](http://en.wikipedia.org/wiki/Syntax_(programming_languages)) ``` Should produce link "Syntax" with href ``` http://en.wikipedia.org/wiki/Syntax_(programming_languages) ``` ##### Actual Behavior Instead, it produces link "Syntax)" with url ``` http://en.wikipedia.org/wiki/Syntax_(programming_languages ``` This can be avoided if using %29 instead of bracket, and URL works this way, but still looks like a bug.
OVERLORD added the 🐛 Bug label 2026-02-04 18:08:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#264