You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by pa...@apache.org on 2026/09/23 17:37:04 UTC
(sedona-db) branch main updated: fix(docs): handle Pandoc AST soft breaks (#1340)
This is an automated email from the ASF dual-hosted git repository.
paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git
The following commit(s) were added to refs/heads/main by this push:
new dd2984315 fix(docs): handle Pandoc AST soft breaks (#1340)
dd2984315 is described below
commit dd2984315d4648004c09347b13501c96a8a78761
Author: Dewey Dunnington <de...@dunnington.ca>
AuthorDate: Wed Sep 23 17:36:58 2026 +0000
fix(docs): handle Pandoc AST soft breaks (#1340)
---
docs/reference/sql/_render_meta.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/reference/sql/_render_meta.py b/docs/reference/sql/_render_meta.py
index 4046787aa..2d5115f8d 100644
--- a/docs/reference/sql/_render_meta.py
+++ b/docs/reference/sql/_render_meta.py
@@ -187,6 +187,10 @@ def to_str(v):
return f"`{v['c'][1]}`"
elif v["t"] == "Space":
return " "
+ elif v["t"] == "SoftBreak":
+ # Pandoc uses SoftBreak for a source newline that is rendered as
+ # ordinary whitespace in prose.
+ return " "
elif v["t"] == "Para":
return "".join(to_str(item) for item in v["c"])
elif v["t"] == "RawInline":