Skip to content

Text not rendering properly in the "Recently updated card" #2114

Description

@rakeshdas1

Describe the bug
I have a page in one of my books that has the following text: Authy -> AndOTP. For some reason, when I save the page and go back to my Bookstack home page, the page shows up in the "Recently Updated Pages" card, but the text in the recently updated section doesn't render properly, it shows the escaped character for the greater than sign: Authy -> AndOTP. Looks like when the text is retrieved from the DB, the escape characters aren't accounted for properly.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a page with a less than or a greater than sign near the beginning of the page.
  2. Go back to Bookstack homepage.
  3. Look at the "Recently Updated Pages" card and see that the less than and/or greater than sign isn't rendered properly.

Expected behavior
The text in the "Recently Updated Pages" card should properly render the greater than sign and read out Authy -> AndOTP.

Screenshots
My page looks like this:
image

The "Recently Updated Pages" card looks like this:
image

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): v0.29.0
  • PHP Version: 7.3.16
  • Hosting Method (Nginx/Apache/Docker): Docker

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions