You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
References containing angle brackets improperly escape the angle bracket with a backslash \ before escaping them with the HTML escape character >#495
Closed
loucadufault opened this issue
Nov 6, 2023
· 2 comments
This came up when using this plugin alongside the plugin: https://github.com/Gerrit0/typedoc-plugin-missing-exports, which by default creates a module named <internal>. This module seems to be improperly escaped when referenced elsewhere in the typedoc, as:
Note that the escaping is somehow only incorrect for the closing angle bracket.
I am not sure whether this is an issue with this plugin, but I confirmed that when not using the plugin, the reference to the module is properly escaped (using the native HTML renderer).
I tried looking through the source, as far as I can tell there is the escapeChars() function that probably runs on the module name to create the reference name, but I am not sure what is then converting that to the HTML escape characters < and >.
The text was updated successfully, but these errors were encountered:
This came up when using this plugin alongside the plugin: https://github.com/Gerrit0/typedoc-plugin-missing-exports, which by default creates a module named
<internal>
. This module seems to be improperly escaped when referenced elsewhere in the typedoc, as:which renders as:
Note that the escaping is somehow only incorrect for the closing angle bracket.
I am not sure whether this is an issue with this plugin, but I confirmed that when not using the plugin, the reference to the module is properly escaped (using the native HTML renderer).
I tried looking through the source, as far as I can tell there is the
escapeChars()
function that probably runs on the module name to create the reference name, but I am not sure what is then converting that to the HTML escape characters<
and>
.The text was updated successfully, but these errors were encountered: