Файли
openidea/src
l0ng-ai 02e4cafa89 fix(editor): put inline doc tags back into the text of rendered comments only (#8376)
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.
2026-12-06 20:12:39 +08:00
..