Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.0.4
-
None
Description
If you create a diagram and include any multi-line text on any of the shapes in the diagram, when you save and view, the text appears corrupted. Instead it displays on a single line with the newline replaced by &.
The problem is actually in the initialization code in reader.min.js. Prior to rendering the diagram, it does some replacements on the XML text to fix certain XML entity references, however, the one that is supposed to deal with newlines is incorrect. It's trying to replace with a newline character, however, it should be searching for 
 and replacing it with
I just now need to figure out if this is a customer reader.min.js file for the Diagram application, or whether this is a bug that should also be submitted upstream to the draw.io team.
Attachments
Issue Links
- duplicates
-
XADIAGRAM-32 Upgrade to the latest Draw.io version
- Closed
- is related to
-
XADIAGRAM-20 The shapes are not displayed on IE11
- Closed