Skip to content

Inline code format cuts off long text when viewing page #1575

Description

@c0shea

Describe the bug
I have a list of text elements and some have an inline code snippet. If the inline code is longer than one visible line, the rest of the inline code text becomes invisible when editing and viewing the page. Unlike existing issue #1507, this happens when editing and viewing the page.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Paste in the following HTML into the page editor source code:
<li class="md-list-item">
<p class="md-end-block md-p"><span class="md-plain">Use for publicly accessible members in shared libraries like Core.Utilities using </span><span class=" md-link"><a spellcheck="false" href="https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/"><span class="md-plain">XML documentation comments</span></a></span><span class="md-plain">, e.g. </span><code><span spellcheck="false">/// &lt;summary&gt;Converts the &lt;paramref name="obj"/&gt; to the type specified by T. If the input type is not convertible to T, an exception will be thrown.&lt;/summary&gt;</span></code><span class="md-plain">.</span></p>
</li>
  1. Notice that the text is cut off after T, a

Expected behavior
The inline code should wrap to another line.

Screenshots
image

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): v0.26.3
  • PHP Version: 7.3.8
  • Hosting Method (Nginx/Apache/Docker): IIS

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