mattermost / mattermost-developer-documentation

Mattermost developer documentation.
https://developers.mattermost.com
BSD 3-Clause "New" or "Revised" License
80 stars 389 forks source link

Help Wanted: Code blocks within tabbed content blocks are being double spaced #1303

Open devinbinnie opened 10 months ago

devinbinnie commented 10 months ago

Steps to reproduce: Create a code block within some tabbed content. Example: https://github.com/mattermost/mattermost-developer-documentation/blob/6ae67842ab3b57a9645d6657ffbcd43b872ca7cc/site/content/contribute/more-info/desktop/developer-setup/ubuntu.md?plain=1#L2

Expected: The code block should render without extra spacing Screenshot 2023-10-13 at 10 01 29 AM

Observed: The code block adds arbitrary spaces between lines Screenshot 2023-10-13 at 10 02 09 AM

Potential cause: It's likely an issue with the Hugo template generator. I noticed that the generated HTML is adding a newline after each line within the span tag, so it's getting double spaced.

Omar8345 commented 7 months ago

Can I get assigned to this please? Seems that no one wants to work on it