-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Description:
I notice that certain HTML entities within the notes attribute of nodes (which are embedded as HTML in XML format) are automatically being converted to their literal character equivalents upon saving (or parsing?) the mindmap. For example, the entity " is being converted to a plain double quote (").
I guess these special characters need to be properly escaped within the XML. This automatic conversion is problematic for my use case, as I'd like to use diff in order to ensure the script changes only what I intended and nothing else.
Expected Behavior:
When saving an .mm file, freeplane-io should have an option to preserve HTML entities in the exact format they were originally represented.
Actual Behavior:
HTML entities are being converted to their literal equivalents when saving, which leads to discrepancies between the original and modified files. This behavior makes it difficult to accurately diff files to check only for intended changes.
Environment:
Freeplane version : 1.12.6
freeplane-io version: 0.9.0
Python version: 3.12.3
Platform: Ubuntu 24.04
Steps to Reproduce:
Load an existing Freeplane .mm file with escaped HTML entities in the notes attribute (e.g., " for a double quote).
Modify any node using freeplane-io and save the mindmap.
Observe that the saved .mm file has the entities replaced with their literal values.