Skip to content

Minor problem - + sign on corners may cause memory running out. #4

@Vi4Ever

Description

@Vi4Ever

Coming from Ditaa needed to change the corners from + to . or '
Test case:
Problematic example -> not rendering and giving Fatal Error memory message at php level:
--> look at the plus sign in the corner left under which should not be there:

<a2s>
 .---------------------------.
 |                           |
 +-------------+-------------'
               |                
</a2s>

Error : Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in \ASCIIToSVG.php on line 3635

Intermediate example
Not rendering but does not produce the Fatal Error.
Removed the plus sign above the pipe sign at the bottom:

<a2s>
 .---------------------------.
 |                           |
 +---------------------------'
               |                
</a2s>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions