rushstack
rushstack copied to clipboard
[api-documenter] Missing empty line after emitted HTML tags for tables
Summary
In #4578, we emit HTML tags for tables instead of Markdown code, but the emitted tags make some Markdown code rendered incorrectly in some cases.
Repro steps
- Clone https://github.com/catloversg/api-documenter-bug-pr-4578.
- Run
npm run doc. - Check
markdown\library.library.testfunction.md.
Expected result:
There is a empty line between </tbody></table> and **Returns:**.
Actual result:
No empty line between </tbody></table> and **Returns:**.
Details
This bug was caused by #4578.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
| Question | Answer |
|---|---|
@microsoft/api-documenter version? |
7.25.10 |
| Operating system? | Windows |
| Documentation target? | Markdown |
| Would you consider contributing a PR? | No |
| TypeScript compiler version? | 5.4.2 |
Node.js version (node -v)? |
20.11.1 |