Run artifact

workspace/targets/commonmark/blueprint/FEATURE-RENDER-NORMALIZATION.md

FEATURE: Normalized HTML Output

FieldValue
Version20260812 V1
DescriptionDefines URL, title, attribute, entity, and special-character output compatibility with the supplied harness.
Depends OnARCHITECTURE.md, FEATURE-RENDER-INLINE.md
Providesnormalized URL output, normalized title output, normalized attribute output
Consumesblock HTML renderer, inline HTML renderer

Output Rules

Programmatic Acceptance

=== AC render-normalization-suite ===
Intent: URL, title, attribute, entity, and special-character rendering passes its complete conformance scope.
Suite: scoped
Requires: executable=python3; scope=test

import subprocess import sys

result = subprocess.run( [sys.executable, "spec_tests.py", "--spec", "spec.txt", "--program", "./commonmark", "--pattern", "^(Links|Images|Autolinks|Raw HTML|Entity and numeric character references)$"], capture_output=True, text=True, ) print(result.stdout) print(result.stderr, file=sys.stderr) assert result.returncode == 0 === END AC render-normalization-suite ===

=== AC render-normalization-specials ===
Intent: Normalized output preserves URL escaping, title escaping, attribute semantics, and special characters.
Suite: scoped
Requires: executable=python3; scope=test

import subprocess import sys

result = subprocess.run( [sys.executable, "spec_tests.py", "--spec", "spec.txt", "--program", "./commonmark", "--pattern", "^(Links|Images|Autolinks|Raw HTML|Entity and numeric character references)$"], capture_output=True, text=True, ) assert result.returncode == 0 === END AC render-normalization-specials ===

User Acceptance

Guardrails