diff --git a/docs/src/content/docs/format-guides/html.md b/docs/src/content/docs/format-guides/html.md index a1335294..34db4e15 100644 --- a/docs/src/content/docs/format-guides/html.md +++ b/docs/src/content/docs/format-guides/html.md @@ -86,6 +86,7 @@ result.markdown - **Uses Nokogiri's HTML fragment parser** — handles malformed input without raising. - **Stateless handlers** — simpler than BBCode's open/close callback API. A handler is an object responding to `#process(element:, parent:)`. +- **Collapses whitespace like a browser** — runs of whitespace become one space, and a space at the start or end of a line (a block boundary) or right after another space is dropped, wherever the inline boundaries fall: `a b` keeps one space. Text inside `
`, ``, `