Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AttributeError with docutils >= 0.18 #352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

onjen
Copy link

@onjen onjen commented Jan 30, 2023

Closes #351

@cottsay
Copy link
Member

cottsay commented Sep 12, 2023

Is this change backwards compatible with older docutils versions?

@onjen
Copy link
Author

onjen commented Sep 13, 2023

I just tested with docutils==0.16.0 and it works.

Also the release notes state that the text is already in the node and there is no need to access the rawsource attribute.

nodes.Text.rawsource: we store the null-escaped text in Text nodes since 0.16 so there is no additional information in the rawsource.

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.

Attribute Error with docutils 0.19
2 participants