github / github/markup

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

Abierto
#1,851 19 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Ruby
Estrellas
6k
Forks
3.4k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

#### Errata (Examples)

1. #### **Markdown Quotation Block**

> ```txt
> Evaluation Content
> ```

…(whose markup is undermentioned):

~~~MD
> ```txt
> Evaluation Content
> ```
~~~

1. #### **HTML Quotation Block**

…and the undermentioned:

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

…whose markup is undermentioned):

~~~MD
> ```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 `

` 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

1.

~~~python
#!/usr/bin/env python3
import rpm, yaml
from datetime import datetime, timezone
from shutil import which
package = which("firefox-nightly")
header = next(
rpm.TransactionSet().dbMatch(
"basenames",
package
)
)
tags = (
"NAME",
"VERSION",
"RELEASE",
"ARCH",
"INSTALLTIME",
"SIZE",
"SIGPGP",
"SOURCERPM",
"BUILDTIME",
"BUILDHOST",
"PACKAGER",
"VENDOR",
)
properties = {}
for name in tags:
value = header[
getattr(
rpm,
f"RPMTAG_{name}"
)
]
if name in (
"INSTALLTIME",
"BUILDTIME"
):
value = (
datetime.fromtimestamp(
value,
timezone.utc
)
.isoformat(timespec="seconds")
.replace(
"+00:00",
"Z"
)
)
properties[name] = value
print(
yaml.safe_dump(
properties,
sort_keys=False,
default_flow_style=False,
)
)
~~~

1.

~~~YAML
NAME: firefox-nightly
VERSION: 157.0a1
RELEASE: '20260831085937'
ARCH: x86_64
INSTALLTIME: '2026-09-01T00:07:43Z'
SIZE: 400365634
SIGPGP: null
SOURCERPM: firefox-nightly-157.0a1-20260831085937.src.rpm
BUILDTIME: '2026-08-31T11:02:30Z'
BUILDHOST: 81a14f63898f
PACKAGER: null
VENDOR: Mozilla
~~~

#### Affected

1. [ ] [`containers/toolbox/issues/1272#issuecomment-1589445965`](https://github.com/containers/toolbox/issues/1272#issuecomment-1589445965)

1. [ ] [`rpm-software-management/dnf5/issues/191#issue-1481711385`](https://github.com/rpm-software-management/dnf5/issues/191#issue-1481711385)

1. [ ] [`gui-cs/Terminal.Gui/discussions/1738#discussioncomment-3537004`](https://github.com/gui-cs/Terminal.Gui/discussions/1738#discussioncomment-3537004)

1. [ ] [`JoKalliauer/cleanupSVG/issues/2#issuecomment-3700973845`](https://github.com/JoKalliauer/cleanupSVG/issues/2#issuecomment-3700973845)

1. [`dotnet/runtime/issues/122721#issue-3759026462`](https://github.com/dotnet/runtime/issues/122721#issue-3759026462)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.