documentationjs / documentation

:book: documentation for modern JavaScript
http://documentation.js.org/
Other
5.78k stars 482 forks source link

@deprecated breaks output Markdown #1596

Open ingun37 opened 1 year ago

ingun37 commented 1 year ago

When the input JSDoc includes @deprecated tag then line breaks are not working in output markdown. If input source file is

export class Aaa {
  /**
   * @deprecated
   */
  aaaaa() {}
}

then it outputs

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->### Table of Contents*   [aaaaa][1]## aaaaa**Meta***   **deprecated**: This is deprecated.[1]: #aaaaa

without any new line.

On the other hand, if the input doesn't include @deprecated then it outputs normally.