Skip to content

Inconsistent markdown rendering #5314

@jeffreycharters

Description

@jeffreycharters

Pre-submission Checklist

  • I have searched the existing issues and this bug has not been reported yet
  • I have tested this issue on the demo site or the latest version

Where did you encounter this bug?

Latest stable version (self-hosted)

Memos Version

v0.25.3

Bug Description

Text is being rendered inconsistently. Expect regular or bold text, receive h2.

The following text was used:

Top
--- 
**Bolded** words
---
**more, same bolded** regular text

Steps to Reproduce

  1. Create new note.
  2. Enter text from description.
  3. Save note.

Expected Behavior

Expected to be rendered in standard markdown format without any headings present.

Screenshots & Additional Context

Actual output is as follows:

<h2>Top</h2>
<h2><strong>Bolded</strong> words</h2>
<p><strong>more, same bolded</strong> regular text</p>

but no headings should be present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions