rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[api-documenter] Missing empty line after emitted HTML tags for tables

Open catloversg opened this issue 1 year ago • 0 comments

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:**.

expected result

Actual result: No empty line between </tbody></table> and **Returns:**.

actual result

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

catloversg avatar Aug 11 '24 15:08 catloversg