andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
480 stars 43 forks source link

[Bug] /n added in `maps` #303

Closed timbergeron closed 4 months ago

timbergeron commented 4 months ago

the description parsing is adding a space in maps print

image

foundry beta 3 can be downloaded at: https://maps.quakeworld.nu/all/

this also happens with bsdm8.bsp and a few other maps

andrei-drexler commented 4 months ago

The newlines are already there in the map descriptions, which I think is incorrect (should've been "\n" instead, AFAIK). I've added code to sanitize them in c123e174856d0f5f03d1d568627d71842add7613.

timbergeron commented 4 months ago

awesome, quick fix :)