Skip to content

Page previews failing for pages that begin with included content #442

Description

@XtremeBain

For Bug Reports

  • BookStack Version: v0.17.1
  • PHP Version: 7.0.15
  • MySQL Version: 5.7.17
Expected Behavior

The chapter page which lists pages with their previews should properly render the preview for pages that have included content in the beginning of them.

Actual Behavior

On the main page of a chapter that lists all of a chapter's pages, if a page's preview contains an include tag for another page or bookmark, there is a javascript TypeError exception logged to the console and the page list does not render.

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

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions