diff --git a/sphinx_ext/deephaven_autodoc.py b/sphinx_ext/deephaven_autodoc.py index 4cfdcea49..5d7abc703 100644 --- a/sphinx_ext/deephaven_autodoc.py +++ b/sphinx_ext/deephaven_autodoc.py @@ -104,7 +104,7 @@ def extract_list_item(node: docutils.nodes.list_item) -> ParamData: Returns: The param data """ - field = node.astext().replace("\n", "
") + field = node.astext().replace("\n", " ") try: match = re.match(r"(.+?) \((.*?)\) -- (.+)", field, re.DOTALL) if match is None: