View Single Post
Old 01-24-2018, 10:36 PM   #3
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by KevinH View Post
No, by design the opf is kept in a parsed state
OK; and explains why saving always prettifies the OPF.

But it was disconcerting to have comments, that are apparently legal and valid, be silently deleted and now lost for good. I thought that just saving a file was entirely safe.

In other cases, if I go to save a file with invalid code, Sigil either won't let me or warns me that it will "fix" it and there may be "data loss".

So if you can't preserve comments, a warning to that effect would be appreciated.
AlanHK is offline   Reply With Quote