Commit 7ad8dc1
Fix paragraph handler losing inline formatting (bold, italic, links)
MarkdownConverter correctly parses markdown into a rich AST, but
_add_blocks_to_post was calling _extract_text_from_content() which
re-serialized the AST back to a plain string — causing literal asterisks
to appear in Substack instead of bold/italic text.
Pass content directly to post.paragraph() since the Post class already
supports rich content lists natively.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a26df08 commit 7ad8dc1
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
| 1290 | + | |
| 1291 | + | |
1293 | 1292 | | |
1294 | 1293 | | |
1295 | 1294 | | |
| |||
0 commit comments