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
Describe the bug
When using docfx metadata to generate Markdown output, most of the Markdown-supported characters are properly escaped with \. However, opening angle brackets aren't escaped, which causes some static site generators to fail as they expect an HTML tag when processing opening angle brackets.
To Reproduce
Use a config file similar to this, with outputFormat set to markdown:
These appear to be the same issues reported in #9719.
However, opening angle brackets aren't escaped, which causes some static site generators to fail as they expect an HTML tag when processing opening angle brackets.
Currently markdown output format is intended to be used as input for docfx build command.
And following problems are known other than #9719 when markdown files are used by other tools.
Describe the bug
When using
docfx metadata
to generate Markdown output, most of the Markdown-supported characters are properly escaped with\
. However, opening angle brackets aren't escaped, which causes some static site generators to fail as they expect an HTML tag when processing opening angle brackets.To Reproduce
Use a config file similar to this, with
outputFormat
set tomarkdown
:Run
docfx metadata
. Inspect Markdown output.Notice that opening angle brackets aren't escaped, whilst closing angle brackets are:
Expected behavior
Output like this:
Context:
The text was updated successfully, but these errors were encountered: