PY-17333 Don't allow Docutils to parse indented first line specially

This commit is contained in:
Mikhail Golubev
2015-10-25 15:49:42 +03:00
parent e8cf3594ae
commit 05ecadf9db
@@ -64,7 +64,7 @@ public class PyStructuredDocstringFormatter {
if (module == null) return Lists.newArrayList();
final List<String> result = new ArrayList<String>();
final String preparedDocstring = PyIndentUtil.removeCommonIndent(docstring, true);
final String preparedDocstring = PyIndentUtil.removeCommonIndent(docstring, true).trim();
final HelperPackage formatter;
final StructuredDocString structuredDocString;