LiveSplit / livesplit-core

livesplit-core is a library that provides a lot of functionality for creating a speedrun timer.
https://livesplit.org/
Apache License 2.0
212 stars 58 forks source link

Ensure whitespace isn't getting trimmed when saving / parsing #77

Closed CryZe closed 6 years ago

CryZe commented 7 years ago

XML is not the greatest format in that regard, but we should try to ensure that no information is lost. It may already work correctly, it may not and there may not be a solution. So this needs to be checked.

CryZe commented 7 years ago

It turns out that both livesplit-core and the original LiveSplit are indeed trimming whitespace. While this means that we ported it correctly, it also means that lss is not lossless, which we might want to fix.

CryZe commented 6 years ago

@wooferzfg Do you think we should just close this? Both XML and HTML work like this by default and it didn't really cause any problems so far.

wooferzfg commented 6 years ago

In that case, yeah.