Files
outline/server/models
Tom MoorandClaude Opus 5 96cf0a4034 fix: Apply all content transforms in DocumentHelper.toJSON (#13413)
* fix: Apply all content transforms in DocumentHelper.toJSON

replaceInternalUrls was declared async although it does no async work, so the
promise it returned was passed into removeMarks, which returned it untouched
rather than walking it. Made the method synchronous, and typed the local in
toJSON so the compiler reports a promise flowing through the transform chain.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* chore: JSDoc punctuation and explicit return type on replaceInternalUrls

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 21:01:10 +00:00
..
2026-07-23 09:10:17 -04:00
2026-07-23 09:10:17 -04:00
2026-07-23 09:10:17 -04:00
2026-07-23 09:10:17 -04:00
2026-07-23 09:10:17 -04:00
2026-07-23 09:10:17 -04:00
2026-07-23 09:10:17 -04:00
2026-07-23 09:10:17 -04:00
2026-05-06 21:10:51 -04:00
2026-07-23 09:10:17 -04:00