CTRL + S Changes HTML Content
When I press ctrl + s (or navigate to the menu item for "save"), the browser saves the page to a file. This is the expected behavior, and I love it! However, it seems to change the actual HTML content.
For Example:
If I save a page that has the links like this:
<a href='google.com'>Google</a>
They turn out like this:
<a href="google.com">Google</a>
Don't see the difference? The quotes get changed from single to double. Although often this doesn't matter, I'm performing a regex search on the file, and I downloaded it so that I wouldn't have to fetch it from the server each time. It'd be nice if there was an option to create an exact copy of the page.
Is this available? Or could it be created?
Thanks!
Firefox Developer Edition 36.0a2 - however, the same thing happens with every version of Firefox Aurora update channel
Chosen solution
If you use "Web page, complete" then Firefox has to modify the source because link to locally saved files need to be corrected and thus Firefox formats links. If you use "Web page, HTML only" then Firefox doesn't need to do this.
Read this answer in context 👍 1All Replies (2)
Next time, use Save As
Chosen Solution
If you use "Web page, complete" then Firefox has to modify the source because link to locally saved files need to be corrected and thus Firefox formats links. If you use "Web page, HTML only" then Firefox doesn't need to do this.