Closed gjsjohnmurray closed 1 year ago
@gjsjohnmurray I'm a little hesitant to make this change. I don't think we should encouraging people to put VS Code-specific HTML in Documatic. Any number of clients could be trying to render that HTML.
Yes, the mechanism I want to leverage here is VS Code-specific, but it will fall back harmlessly in other contexts (e.g. Documatic web browser).
Since the empty span is harmless in Documatic I'll make this change.
Continuing from #265, VS Code permits a syntax for displaying codicons in the hover markdown. But turndown is removing the empty
<span>
element it relies on:An (untested) change at this line might work: https://github.com/intersystems/language-server/blob/83358d6f1f1aea08a4aef091519968f0489eb26f/server/src/utils/functions.ts#L18