дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 18:17:15 +02:00
Rendered doc comments replace `{@link}`, `{@code}` and the other inline tags
with placeholders, sanitize the Markdown, then put the tags' HTML back by
string replacement. A placeholder inside an attribute value
(`<img alt="{@link Foo}">`) got that HTML too: its quotes ended the attribute,
and the rest of the comment's markup became attributes the sanitizer never saw.
The tags now go back on the sanitized DOM: into text nodes as their HTML, and
into attribute values as their plain text.