Skip to content

Fix AttributeError in filter_decorate_diff.py for Quoted inlines#47

Merged
pmolodo merged 1 commit intoaousd:mainfrom
pmolodo:fix-filter_decorate_diff-error-with-Quoted
Apr 6, 2026
Merged

Fix AttributeError in filter_decorate_diff.py for Quoted inlines#47
pmolodo merged 1 commit intoaousd:mainfrom
pmolodo:fix-filter_decorate_diff-error-with-Quoted

Conversation

@pmolodo
Copy link
Copy Markdown
Contributor

@pmolodo pmolodo commented Apr 6, 2026

Pandoc's Quoted AST node has c = [QuoteType, [Inline]], not just [Inline] like Emph/Strong. Unpack it correctly to avoid 'list has no attribute get'.

Pandoc's Quoted AST node has c = [QuoteType, [Inline]], not just [Inline]
like Emph/Strong. Unpack it correctly to avoid 'list has no attribute get'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pmolodo
Copy link
Copy Markdown
Contributor Author

pmolodo commented Apr 6, 2026

@pmolodo pmolodo merged commit 77c5e59 into aousd:main Apr 6, 2026
1 check passed
@pmolodo pmolodo deleted the fix-filter_decorate_diff-error-with-Quoted branch April 8, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant