Remove every line containing an SPDX tag from the Markdown source. The
aggregated article HTML carries its own file-level SPDX header via
REUSE.toml; per-artifact tags would otherwise surface as visible footer
text (italic-wrapped SPDX tags rendered inside <em> / </em></p>) and
trip the REUSE compliance scanner, which would parse the trailing markup
as part of the SPDX expression.
Parameters
md: string
Raw Markdown source
Returns {md:string;lines:number}
{ md, lines } — stripped Markdown and count of removed lines
Remove every line containing an SPDX tag from the Markdown source. The aggregated article HTML carries its own file-level SPDX header via
REUSE.toml; per-artifact tags would otherwise surface as visible footer text (italic-wrapped SPDX tags rendered inside<em>/</em></p>) and trip the REUSE compliance scanner, which would parse the trailing markup as part of the SPDX expression.