Skip to content

绘图mermaid中节点内容用换行,不能弹窗渲染 #2655

Description

@304792747

Describe the bug
vnote使用版本:3.19.2

可以正常弹窗渲染

graph TD
a[123456]
Loading

使用换行后不能正常弹窗渲染【使用 下面三种方法都不可以】

graph TD
a[123\n456]
Loading
graph TD
a[123<br>456]
Loading
graph TD
a[123
456]
Loading

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Image Image

Desktop (please complete the following information):

  • OS: [e.g. Windows 11]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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