Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Content loss in mermaid between < and > #12

Open
yingmanwumen opened this issue Apr 15, 2022 · 2 comments
Open

[BUG] Content loss in mermaid between < and > #12

yingmanwumen opened this issue Apr 15, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@yingmanwumen
Copy link

Describe the bug

Text in < and > in the classDiagram of mermaid cannot be shown.
For example, std::shared_ptr<ClassA> variable would be displayed as std::shared_ptr variable.

Result from CocInfo

## versions

vim version: VIM - Vi IMproved 8.2 8023995
node version: v16.14.2
coc.nvim version: 0.0.80-0480cbd997
coc.nvim directory: /home/yingmanwumen/.vim/pack/coc.nvim/start/coc.nvim
term: dumb
platform: linux

## Log of coc.nvim

2022-04-15T19:43:00.279 INFO (pid:273813) [services] - registered service "highlight"
2022-04-15T19:43:00.774 INFO (pid:273813) [plugin] - coc.nvim 0.0.80-0480cbd997 initialized with node: v16.14.2 after 645ms
2022-04-15T19:43:05.909 INFO (pid:273813) [attach] - receive notification: runCommand [ 'markdown-preview-enhanced.openPreview' ]
2022-04-15T19:43:11.609 INFO (pid:273813) [attach] - receive notification: highlight []
2022-04-15T19:43:15.024 INFO (pid:273813) [attach] - receive notification: highlight []
2022-04-15T19:45:59.182 INFO (pid:273813) [attach] - receive notification: showInfo []

Steps to reproduce
Steps to reproduce the behavior:

  1. execute vim and open a markdown file
  2. write down texts like this:
```mermaid
classDiagram
class ClassA {
    std::shared_ptr<ClassB> inner
}
...
  1. :CocCommand markdown-preview-enhanced.openPreview
  2. See error

Expected behavior

Expected the full content in the rendered mermaid diagram.

Screenshots

Screenshot_20220415_195321
Screenshot_20220415_195725

Additional context
None

@yingmanwumen yingmanwumen added the bug Something isn't working label Apr 15, 2022
@weirongxu weirongxu self-assigned this Apr 15, 2022
@weirongxu
Copy link
Owner

Look like an upstream issue.

@weirongxu
Copy link
Owner

shd101wyy/vscode-markdown-preview-enhanced#583

@weirongxu weirongxu removed their assignment Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants