You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple carriage returns (i.e., \n\n..) inside the Text property of the geoJson Layer ("type": "FeatureCollection") are not handled properly by Mapfish and they get removed from the printed PDF.
How to reproduce
Create a Feature Collection in the print request, and add empty lines (several carriage returns) in the Text property in one of the Features, i.e.:
Thanks for the tip @sbrunner . However, replacing every single instance of \n by <br /> in the JSON print object before sending the request to Mapfish produces an empty bbox with no text back from MAPFISH. So, it doesn't like it.
Context
Describe the bug
Multiple carriage returns (i.e., \n\n..) inside the Text property of the geoJson Layer ("type": "FeatureCollection") are not handled properly by Mapfish and they get removed from the printed PDF.
How to reproduce
Create a Feature Collection in the print request, and add empty lines (several carriage returns) in the Text property in one of the Features, i.e.:
This was not happening in version 3.26.
Is this somehow a known bug?
Thanks in advance,
The text was updated successfully, but these errors were encountered: