The default value may have a space within. It’s perfectly valid and jsDoc has nothing against that:
/**
* @param {String} [a='b c'] description
*/
But dox gets confused:
[{"tags": [
{
"type": "param",
"string": "{String} [a='b c'] description",
"name": "[a='b",
"description": "c'] description",
"types": [
"String"
],
"typesDescription": "<code>String</code>",
"optional": true,
"nullable": false,
"nonNullable": false,
"variable": false
}
]}]
The default value may have a space within. It’s perfectly valid and jsDoc has nothing against that:
But dox gets confused:
[{"tags": [ { "type": "param", "string": "{String} [a='b c'] description", "name": "[a='b", "description": "c'] description", "types": [ "String" ], "typesDescription": "<code>String</code>", "optional": true, "nullable": false, "nonNullable": false, "variable": false } ]}]