hedgedoc / react-client

The frontend of the upcoming version 2.0
https://hedgedoc.dev
GNU Affero General Public License v3.0
104 stars 13 forks source link

Unwanted mermaid titles #1815

Closed DerMolly closed 2 years ago

DerMolly commented 2 years ago

Description Mermaid diagrams get titles despite not being configured to have one.

To Reproduce

  1. Go to https://hedgedoc.dev/n/features
  2. Paste this markdown

Expected behavior The 2nd diagram not getting a title.

Screenshots

Bildschirmfoto 2022-01-29 um 19 12 39

DerMolly commented 2 years ago

I suspect the problem lies with a non-proper reinitialization of meramid between the renders… Cursiously HedgeDoc 1 seems to do this right as can be seen here.

ErikMichelson commented 2 years ago

This seems to have been resolved in the meantime as I cannot reproduce it with the supplied markdown example.

mrdrogdrog commented 2 years ago

I can confirm that this problem doesn't appear anymore.