We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At least on plone.dexterity.content.DexterityContent.Description method it does fail due to calling replace on it.
plone.dexterity.content.DexterityContent.Description
replace
A try/except might be enough?
try: value = value.replace('\r\n', ' ').replace('\r', ' ').replace('\n', ' ') # noqa except AttributeError: value = value.raw.replace('\r\n', ' ').replace('\r', ' ').replace('\n', ' ') # noqa
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At least on
plone.dexterity.content.DexterityContent.Description
method it does fail due to callingreplace
on it.A try/except might be enough?
The text was updated successfully, but these errors were encountered: