I can't seem to copy and paste code form posts anymore. I get one big run-on line. The newlines no longer work. I also get all the line numbers, which means the code can't compile. Is there a "toggle plain text" option so I can copy and paste into an editor and run it?
VernonDozier 2,218 Posting Expert Featured Poster
Recommended Answers
Jump to PostDouble-click on the code as if you were doing a Select All to copy and paste it.
Jump to PostDoes it just happen with one post? Maybe the poster typed it in as one massive line?
Jump to PostOooh I see what you mean. I am able to duplicate this problem in IE8 although it works fine in IE9. Looking into it ...
Jump to PostThis is happening because we use jQuery's
text()
function to fetch the plaintext version. According to http://api.jquery.com/text/,Due to variations in the HTML parsers in different browsers, the text returned may vary …
All 16 Replies
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
VernonDozier 2,218 Posting Expert Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
VernonDozier 2,218 Posting Expert Featured Poster
VernonDozier 2,218 Posting Expert Featured Poster
VernonDozier 2,218 Posting Expert Featured Poster

diafol
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
VernonDozier 2,218 Posting Expert Featured Poster
VernonDozier 2,218 Posting Expert Featured Poster
VernonDozier 2,218 Posting Expert Featured Poster
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member

diafol
Dani 4,658 The Queen of DaniWeb Administrator Featured Poster Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.