fix(api): remove hidden attr from anchor links, use CSS display instead
This commit is contained in:
parent
5ff58fec59
commit
fb4f5790fc
@ -261,7 +261,7 @@ fn render_markdown_enhanced(md: &str) -> RenderedContent {
|
|||||||
HeadingLevel::H6 => "h6",
|
HeadingLevel::H6 => "h6",
|
||||||
};
|
};
|
||||||
html.push_str(&format!(
|
html.push_str(&format!(
|
||||||
"<a hidden class=\"anchor\" aria-hidden=\"true\" href=\"#{}\">#</a></{}>",
|
"<a class=\"anchor\" aria-hidden=\"true\" href=\"#{}\">#</a></{}>",
|
||||||
id, tag
|
id, tag
|
||||||
));
|
));
|
||||||
heading_idx += 1;
|
heading_idx += 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user