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

ZO-4627: Use lxml.etree for content objects instead of lxml.objectify #626

Merged
merged 15 commits into from
Feb 21, 2024

Conversation

wosc
Copy link
Member

@wosc wosc commented Feb 19, 2024

Checklist

  • Documentation
  • Changelog
  • Tests
  • Translations

@wosc wosc force-pushed the ZO-4627 branch 3 times, most recently from 6bb475a to 7093089 Compare February 20, 2024 08:06
@wosc wosc marked this pull request as ready for review February 20, 2024 08:21
Copy link
Contributor

@louika louika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay, ich finds schöner als vorher. Habe aber Fragen. Nur noch ein Test komisch, hier haben sich https://github.com/ZeitOnline/vivi/pull/626/checks?check_run_id=21804316779 attribute/schemata wieder rein gemogelt.
attack

core/src/zeit/content/volume/volume.py Show resolved Hide resolved
core/src/zeit/cms/content/field.txt Show resolved Hide resolved
core/src/zeit/cms/content/property.py Show resolved Hide resolved
core/src/zeit/cms/content/xmlsupport.py Show resolved Hide resolved
core/src/zeit/cms/content/property.py Outdated Show resolved Hide resolved
core/src/zeit/cms/testing.py Outdated Show resolved Hide resolved
core/src/zeit/content/article/README.txt Show resolved Hide resolved
core/src/zeit/cms/content/lxmlpickle.py Show resolved Hide resolved
In the future, we might want to mark nodes/subtrees that contain
significant whitespace (e.g. article body, markup text etc.), so that
we can still pretty print anything else.
Result changed from '<p>bar!</p>\n' to '<p>bar!</p>\n    \n',
and it's a bit unclear why.
This has existed since forever (762326d) but was not used even then.
It's unclear if in the interim there used to be some subclass that
used it, but anyway nowadays there isn't, so begone!
@louika louika merged commit 2784239 into main Feb 21, 2024
4 checks passed
@louika louika deleted the ZO-4627 branch February 21, 2024 15:25
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.

3 participants