mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-17333 Don't allow Docutils to parse indented first line specially
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user