Skip to content

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

@devinbinnie

Description

@devinbinnie

Steps to reproduce:
Create a code block within some tabbed content. Example:

2. Install NodeJS from [NodeSource](https://github.com/nodesource/distributions#installation-instructions):

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions