Skip to content

[Bug] ~~~s with an invalid language (like ~~~log) render the encapsulated >/<blockquote> below the visual boundary of the <pre><code>. #1851

@RokeJulianLockhart

Description

@RokeJulianLockhart

Errata (Examples)

  1. Markdown Quotation Block

    Evaluation Content

    ...(whose markup is undermentioned):

    > ```txt
    > Evaluation Content
    > ```
  2. HTML Quotation Block

    ...and the undermentioned:

    Evaluation Content
    

    ...(whose markup is undermentioned):

    > ```log
    > Evaluation Content
    > ```

If you scroll on the latter, you shall see that it renders the blockquote line further than the actual content, as a consequence of the <blockQuote> statement being necessarily defined a line after the fenced code block content. However, this shouldn't occur, not least because it doesn't when defining a block quote using Markdown >s.

Bitmap Depiction

In case it doesn't render like that to you, what I see is undermentioned:

Image

My Environment

Name         : firefox
Version      : 143.0.4
Release      : 1.fc43
Architecture : x86_64
Install Date : Thu 30 Oct 2025 20:52:49 GMT
Size         : 262059513
Signature    : RSA/SHA256, Wed 08 Oct 2025 08:27:03 BST, Key ID 829b606631645531
Source RPM   : firefox-143.0.4-1.fc43.src.rpm
Build Date   : Mon 06 Oct 2025 08:16:57 BST
Build Host   : buildhw-x86-04.rdu3.fedoraproject.org
Packager     : Fedora Project
Vendor       : Fedora Project
Bug URL      : https://bugz.fedoraproject.org/firefox

Affected

Details

  1. containers/toolbox/issues/1272#issuecomment-1589445965

  2. rpm-software-management/dnf5/issues/191#issue-1481711385

  3. gui-cs/Terminal.Gui/discussions/1738#discussioncomment-3537004

  4. JoKalliauer/cleanupSVG/issues/2#issuecomment-3700973845

  5. dotnet/runtime/issues/122721#issue-3759026462

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions