-
Notifications
You must be signed in to change notification settings - Fork 47
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
Text style tags not always properly stripped from template elements #16
Comments
What specifically styling tags is OpenOffice inserting around square brackets? I could not reproduce this issue on Libreoffice. The sample statement is stored as |
Actually I was using LibreOffice too. I don't have the template data handy now but whenever I wrote |
Pleased to be of service @christopher-ramirez |
In particular, secretary has difficulty parsing statements such as
{% if [1, 2, 3]|length > 0 %}Foo Bar{% endif %}
because OpenOffice likes to insert text styling tags around the square brackets. Small tweak to the_unescape_entities
method can fix this.The text was updated successfully, but these errors were encountered: