_xmlEscape/_xmlAttr centraliseren (7+ kopieen in export-services) #2074
Labels
No labels
accepted
bug
declined
docs
duplicate
enhancement
good first issue
in-progress
needs-info
privacy
security
triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
LibreKAT/Ocideck#2074
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Probleem
De helpers
_xmlEscapeen_xmlAttrstaan letterlijk gekopieerd in 7+ export/conversie services. Ze doen HTML/XML entity escaping van&,<,>,",'.Alle voorkomens
services/docx/markdown_to_docx.dartservices/odt/markdown_to_odt.dartservices/epub/markdown_to_xhtml.dartservices/docx/document_docx_export.dart_xmlEscapeservices/odt/document_odt_export.dart_xmlEscapeservices/epub/document_epub_export.dart_xmlEscapeservices/pptx/deck_pptx_export.dart_xmlAttrmist apos-escapeservices/odp/deck_odp_export.dart_xmlEscapeDe pptx-variant wijkt licht af (
_xmlAttrmist de apostrophe-escape), wat een potentiele bug is.Voorstel
Verplaats naar
lib/utils/xml_escape.darten importeer overal. Dit lost ook de pptx-inconsistentie op.Schatting
~25-30 regels verwijderbaar.
Labels
duplicate, enhancement