-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Optional parameters are not properly escaped when a hyperlink is generated.
Ex:
/**
* Contact class
* @param {Customer} [customer] Customer object
* @param {Profile} [profile] Profile object
* @constructor
* @alias module:models/contact~Contact
*/
function Contact(customer, profile) {
Some resulting markdown (invalid, no hyperlink as a result):
* [new Contact([customer], [profile])](#markdown-header-new-contactcustomer-profile)
Markdown that works:
* [new Contact(\[customer\], \[profile\])](#markdown-header-new-contactcustomer-profile)
Notice the escaping of the nested square brackets
Metadata
Metadata
Assignees
Labels
No labels