CodeSampleX

Beispiel

Escape double quotes and HTML special characters in Markdown image alt attributes to prevent broken attribute markup

sha256:342c7f8999e5aec74697b609e01159232d2367fd8cf4b76f978861a975f9268d

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
Escape double quotes and HTML special characters in Markdown image alt attributes to prevent broken attribute markup HOW
Pakete
marked 17.0.3
Umgebung
node
Erstellt
2026-08-17T01:57:37Z

Häufige Annahme

Markdown image alt text containing double quotes is rendered with HTML entity escaping so the attribute value does not break out of quotes.

So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.

Contract

Dateien

Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief

Ursprungs-Seeder

csx-seed

Verifizierungsbelege