Skip to content

Markdown table swallows the markdown immediately following it #1285

@kbaley

Description

@kbaley

Describe the bug
When entering a table in a Markdown element, any text/markdown immediately following the table doesn't appear. The text/markdown following the swallowed element appears as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://demos.blazorbootstrap.com/markdown
  2. Enter the following sample Markdown in the Live Demo text area
# Heading 1

| Heading 1 | Heading 2 | Heading 3 |
|--|--|--|
| Cell A1 | Cell A2 | Cell A3 |
| Cell B1 | Cell B2 | Cell B3<br />second line of text |

## Not visible

##Second
  1. Review the preview and notice that ## Not visible is not visible

Expected behavior

All the text is included.

Screenshots

Image

Versions (please complete the following information):

  • .NET Version: .NET 10
  • BlazorBootstrap: 3.5.0
  • Blazor WebAssembly / Server: WebAssembly
  • Blazor Interactive Render Mode: WebAssembly
  • Blazor Interactivity Location: Any

Desktop (please complete the following information):

  • OS: macOS, Windows
  • Browser: Chrome
  • Version: Latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions