jsdoc2md / dmd

The default output template for jsdoc2md
MIT License
39 stars 49 forks source link

{@link <namepath} will break if "{@link" is at line ending #64

Closed BITespresso closed 4 years ago

BITespresso commented 5 years ago

This example

// Link is generated

    /**
     * Calculates a suggestion for the region which can be used as input for
     * {@link cascadeOverlapAllWindows}. The suggested region is printed to the console and returned
     * by this method.
     */

works as expected, while the following will not generate a link, but put literally {@link cascadeOverlapAllWindows} in the output.

// No link generated

    /**
     * Calculates a suggestion for the region which can be used as input for {@link
     * cascadeOverlapAllWindows}. The suggested region is printed to the console and returned by
     * this method.
     */

In JSDoc both will generate a correct result.

75lb commented 4 years ago

merged and released in dmd v5.0.0, thanks

75lb commented 4 years ago

also released in dmd v4.0.6 so users of the current version of jsdoc2md will pick up the change.