Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insufficient filtering of code tags in Markdown docs #8378

Closed
ModProg opened this issue Sep 24, 2023 · 0 comments · Fixed by #8397
Closed

Insufficient filtering of code tags in Markdown docs #8378

ModProg opened this issue Sep 24, 2023 · 0 comments · Fixed by #8397
Labels
C-bug Category: This is a bug

Comments

@ModProg
Copy link

ModProg commented Sep 24, 2023

Summary

Some lsps (rust-analyzer) send docs containing not onle <code> but also <code ...>:

fn(&self) -> TypeParams<'_>

Returns an
<code  style="padding-right:0;">Iterator<Item = &<a
href="struct.TypeParam.html"><code
style="padding-left:0;padding-right:0;">TypeParam</a><code
style="padding-left:0;">>

For simple <code> tags, this was implemented here: #3425

Reproduction Steps

Trigger hover on element where LSP returns html tags

Helix log

No response

Platform

Linux

Terminal Emulator

wezterm

Helix Version

helix 23.05 (842687e)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant