Prettified HTML tables render with erroneous top blank space, whereas compacted do not. #5328
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
The undermentioned code, solely when multiline/indented, creates a table with an absurdly padded top margin.
Steps to reproduce
https://mermaid.live/edit#pako:eNp1kDEPgjAQhf8KuZnEuDaEwTA6IZt1OOghRFpMOWII4b_bEhFJcHtfX_ve9UYoWkUgoGzaV1Gh5SBLpJFsjlcJXkiOGPOG4gUqQvUBj_arZzPOqOPsHB2c3DHSjeFgee7P1-CI81YNf1vUHHbyLWrPSDfGtuUn2NH6M7hBCJqsxlq5fYzSBIEEN5QmCcJJhfbhVzK5e9hzexlMAYJtTyH0T4VMSY13ixpEiU1H0xtcP30j
Screenshots
Prettified HTML tables render with erroneous top blank space, whereas compacted do not. mjbvz/vscode-markdown-mermaid#245 (comment)
Code Sample
https://mermaid.live/edit#pako:eNpFjrEOgkAMhl-FdDa5uF4Ig2F0QjbrUGgRIneY44ghhHf38FCn_l_y_W0XqAcW0ND0w6tuyfmkzNGit8crQuqp6iVLfSvEYbgtZqWMvjynKsQfFhHVpqivXg087y3-aKetxX8sIu6tqKt4E-EGBzDiDHUc_lvQJglCWG0EQYfI5B4IaNfg0eSHy2xr0N5NcoDpyeQl7-juyIBuqB9lfQMRak_9
Screenshots
Prettified HTML tables render with erroneous top blank space, whereas compacted do not. mjbvz/vscode-markdown-mermaid#245 (comment)
Code Sample
Setup
Mermaid version
I use https://github.com/mjbvz/vscode-markdown-mermaid/blob/bc6dfff7d69202b62be271f8a1bd34a7df9ab920/README.md#markdown-preview-mermaid-support:~:text=currently%20supports%20mermaid%20version%2010.8.0, which "Currently supports Mermaid version 10.8.0".
Browser and Version
code-insiders-1.87.0-1708582258.el8.src
and https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/MozillaFirefox-122.0.1-1.1.x86_64.rpm
Suggested Solutions
I don't know what the issue is, so I can't provide one.
Additional Context
Reported here per mjbvz/vscode-markdown-mermaid#245 (comment).
The text was updated successfully, but these errors were encountered: