Description
When using Node v14, I noticed that markdown docs are incorrectly escaped when using help commands. In Node v16 it works fine, however in Node v14 I get this:

As you can see, all code fences tags are not stripped from the output.
Tested it in node v14.20.0 & v14.18.1, both have the same issue. I haven't tested other frequently used node versions yet. Since Node v14 is still frequently used to develop SPFx solutions I don't think we should ignore this.
Steps to reproduce
- Install any version of Node v14
- Use any command followed by
--help, e.g. m365 spo web get --help
Expected results
Markdown tags should be stripped from the printed help page.
Actual results
Markdown tags are visible in the printed help page.
Diagnostics
No response
CLI for Microsoft 365 version
v5.7.0
nodejs version
v14.20.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Description
When using Node v14, I noticed that markdown docs are incorrectly escaped when using help commands. In Node v16 it works fine, however in Node v14 I get this:
As you can see, all code fences tags are not stripped from the output.
Tested it in node v14.20.0 & v14.18.1, both have the same issue. I haven't tested other frequently used node versions yet. Since Node v14 is still frequently used to develop SPFx solutions I don't think we should ignore this.
Steps to reproduce
--help, e.g.m365 spo web get --helpExpected results
Markdown tags should be stripped from the printed help page.
Actual results
Markdown tags are visible in the printed help page.
Diagnostics
No response
CLI for Microsoft 365 version
v5.7.0
nodejs version
v14.20.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response