Reputation: 12504
Is there any way to copy HTML as I see in the Developer Tool (maintaining indentation & line-breaking)?
For example, when I copy outer HTML of a node from Google's search page, everything becomes one line.
As I see in the Developer Tool.
Copied
Upvotes: 4
Views: 2643
Reputation: 15
What you should do is right click and click "View Page Source" or hit control + u
And you can just copy and paste from there
Upvotes: 0