Commit 218b6ce2 by Wenzel Jakob

Revert "trim docstrings (closes #112)"

This reverts commit b3ef54a5.
parent 00d584da
......@@ -303,11 +303,7 @@ protected:
signatures += "\n";
if (it->doc && strlen(it->doc) > 0) {
signatures += "\n";
std::string str = it->doc;
size_t first = str.find_first_not_of(" \n\t\r");
size_t last = str.find_last_not_of(" \n\t\r");
if (first != std::string::npos)
signatures += str.substr(first, last - first + 1);
signatures += it->doc;
signatures += "\n";
}
if (it->next)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment