Revert "trim docstrings (closes #112)"

This reverts commit b3ef54a544.
This commit is contained in:
Wenzel Jakob 2016-02-28 23:52:37 +01:00
parent 00d584da97
commit 218b6ce246

View File

@ -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)