Handle Solidity NatSpec whitespace
For a function specification like this:
/// @notice Perform initial contract setup
/// @dev The initializer modifier ensures this is only called once, the owner should confirm this was properly
/// performed before publishing this contract address.
/// @param _initialFee fee to be paid on each sale, in basis points
/// @param _initialFeeRecipient wallet to collets fees
/// @param _initialPaymentToken address of the token that is used for settlement
I am hoping it can be parsed as:
Notice:
Perform initial contract setup
Dev:
The initializer modifier ensures this is only called once, the owner should confirm this was properly performed before publishing this contract address.
Param _initialFee:
fee to be paid on each sale, in basis points
Param _initialFeeRecipient :
wallet to collets fees
Param _initialPaymentToken :
address of the token that is used for settlement
Please let me know how this works and how I can help.
I am also the maintainer of the Solidity Style Guide and the Solidity NatSpec specification.
Just to be sure to understand the issue here: you are talking about extra spaces that are not managed correctly? If that's so, would trimming the extra spaces work?
Trimming whitespaces before and after each line and then combining lines with one space would fix it.