doc: Normalize RPC description whitespace

This commit is contained in:
MarcoFalke
2021-12-08 19:00:54 +01:00
parent f727d814bd
commit faa0833c43
3 changed files with 4 additions and 5 deletions

View File

@@ -620,10 +620,9 @@ std::string RPCHelpMan::ToString() const
ret += arg.ToString(/* oneline */ true);
}
if (was_optional) ret += " )";
ret += "\n";
// Description
ret += m_description;
ret += "\n\n" + TrimString(m_description) + "\n";
// Arguments
Sections sections;