UI Error visualizing a bold word in a code sample #491

Closed
opened 2026-02-04 20:33:16 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @agalisteo on GitHub (Nov 4, 2017).

For Bug Reports

  • BookStack Version v0.18.4:
  • PHP Version: 5.6
  • MySQL Version: 5.7
Expected Behavior

Visualize bold word in a code sample

<pre>
sample <b>sample</b> sample
</pre>
sample sample sample
Current Behavior

Bookstack page dont visualize bold word.

not_bold 1

Steps to Reproduce

Create new page with the following code, save and visualize the page.

<pre>
sample <b>sample</b> sample
</pre>
Originally created by @agalisteo on GitHub (Nov 4, 2017). ### For Bug Reports * BookStack Version v0.18.4: * PHP Version: 5.6 * MySQL Version: 5.7 ##### Expected Behavior Visualize bold word in a code sample ``` <pre> sample <b>sample</b> sample </pre> ``` <pre> sample <b>sample</b> sample </pre> ##### Current Behavior Bookstack page dont visualize bold word. ![not_bold 1](https://user-images.githubusercontent.com/4834264/32397615-edc52038-c0ea-11e7-969c-5593788f9ce1.png) ##### Steps to Reproduce Create new page with the following code, save and visualize the page. ``` <pre> sample <b>sample</b> sample </pre> ```
Author
Owner

@ssddanbrown commented on GitHub (Nov 7, 2017):

Hi @agalisteo, Thanks for opening this issue. This is not so much of a UI error as much as it's done on purpose due to code blocks being rendered with codemirror.

This is already open under #481 so I will close this issue request but feel free to continue the conversions on #481.

@ssddanbrown commented on GitHub (Nov 7, 2017): Hi @agalisteo, Thanks for opening this issue. This is not so much of a UI error as much as it's done on purpose due to code blocks being rendered with codemirror. This is already open under #481 so I will close this issue request but feel free to continue the conversions on #481.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#491