NEVER EVER EVER OPEN A PLAIN TEXT HTML FILE THAT YOU ARE WORKING ON… - Sally's Journal
NEVER EVER EVER OPEN A PLAIN TEXT HTML FILE THAT YOU ARE WORKING ON IN WORD.
No, not even if you just _open_ it, and don't tell it to save in the slightest. It will still trash your wonderful simple code and replace everything with hugely over prescriptive garbage.
Damn you, microsoft!
Can't you just copy and paste back to a proper editor?
|Date:||August 6th, 2009 05:38 pm (UTC)|| |
Yes, but all my things that were (eg) < h1 > are now all automagically changed into 'times new roman', 'font size 12', etc etc etc... I think the best thing to do is to salvage the text and just start the markup again!
I wouldn't have minded if I'd been daft enough to save it (well, OK, I would, but it would have been more understandable), but all I did was _open_ it!
|Date:||August 6th, 2009 06:41 pm (UTC)|| |
This is why I hate HTML email. It can take 30KB of formatting for a 2-line message.
I wouldn't dream of letting any MS software near my HTML files, unless it's someone using IE to read a web page.
|Date:||August 6th, 2009 07:00 pm (UTC)|| |
Ah, yes, I had to clean up a couple of these messes for my father - he did edit with Word though and then wondered why he could not see a picture in his webpage once it was online (word seems to think it's a good idea to replace relative with absolute references).
Word also does that to other kinds of documents, for example to RTFs (a big problem for us at work due to requirements to keep an audit trail of changes to files).
|Date:||August 6th, 2009 07:24 pm (UTC)|| |
Oh god, that's happened to me and I SO hate it.
Notepad keeps me sane. Oh yeah.
Hope you can recover or redo it without too much difficulty. =(
|Date:||August 6th, 2009 09:22 pm (UTC)|| |
There is emacs on that computer
|Date:||August 7th, 2009 07:17 am (UTC)|| |
I use vim, but yes - never open anything in Word that you might want to use again outside Word. Same goes for that sort of package in general. Excel is reasonably respectful of CSV and other plain text files, though it does become incredulous when you want to save things in those formats ("Are you sure? You REALLY want to save it in that format? You'll lose features!").
Word is not a text editor. Not ever. Not in the slightest. Word is a text destroyer.
Ugh. Use http://tidy.sourceforge.net/ with the "-clean" option? Good luck.