asciiflow icon indicating copy to clipboard operation
asciiflow copied to clipboard

Spaces broken during export

Open 2br-2b opened this issue 2 years ago • 3 comments

Hi,

When exporting https://asciiflow.com/#/share/eJyrVspLzE1VssorzcnRUcpJrEwtUrJSqo5RqohRsjI0MDDUiVGqBDKNDUyBrJLUihIgJ0ZJAQweTdmDH8XE5MFVKsAAurhbYnJJflElhjgO9Sho2q5HUxqQEEIlVHkTTODRlB5UpUC0BUNkAkJ5E4Y5GEag6Z%2BAaQl2G0CGBxTlp5Qml4AtQubD7WpSqK%2Bvzy8CEjAlMD6SEkTYQZTA%2BHAlUzAcgIxmKBBSAVIUo1SrVAsAE%2BgRPQ%3D%3D)

Which looks like:

image

I get this output:

      ┌─────────┐
      │         │
      │ Factory │
      │         │
      └────▲────┘
           │
     ┌─────┴─────┐
     │           │
┌────┴────┐ ┌────┴─────┐
│ Product │ │ Product  │
│ or│ │ or │
│ Factory │ │ Factory  │
└─────────┘ └──────────┘

Shown on the export page and other editors as image

2br-2b avatar Sep 24 '21 18:09 2br-2b

When I click your link, I see Unicode in your boxes. When exporting, I get the same result as you do. After removing these Unicode characters, the ASCII export works just fine for me.

Did you voluntarily put Unicode in there or is this a bug ?

ade-sede avatar Sep 28 '21 04:09 ade-sede

This is a bug - I didn't voluntarily enter it.

2br-2b avatar Sep 28 '21 13:09 2br-2b

Looks like these are DEL characters, not sure how you are getting those in there. The related issues are all carriage returns.

lewish avatar Feb 21 '24 22:02 lewish