michael-lazar / pygopherd

Multiprotocol Gopher/Web Server [Python 3]
https://michael-lazar.github.io/pygopherd/doc/pygopherd.html
GNU General Public License v2.0
33 stars 8 forks source link

ASCII Art in gophermap File: Initial Spaces Being Removed #10

Open rjolina opened 3 months ago

rjolina commented 3 months ago

I am experiencing an issue with generating ASCII art in the gophermap file. Specifically, when a line begins with a regular space, pygopherd seems to remove that space, causing the entire line to shift to the left. I managed to work around this problem by replacing the space with a Narrow No-Break Space, but I am wondering if there is a setting that controls this behavior. Alternatively, could this be a bug?

Could there be a more general option to prevent pygopherd from modifying my gophermaps at all?