Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Clipboard corrupts HTML code


22 Feb 2010   #1

Windows 7 Home Premium x64
 
 
Clipboard corrupts HTML code

I do a lot of work on my websites, and I frequently run into a problem when I copy an element or block of one of my local pages in the WYSIWYG display (or copy from a browser display) and then paste it into my web page editor. It also occurs when I use a clipboard utility that enables me to paste the HTML code of such a copy into a text editor - so the problem is in no way related to my web page editor (KompoZer).

The trouble is that all my internal links and references use local paths, which for the most part are simply the respective filenames, and what sweet little Windows clipboard does all too often (though not in all circumstances) is to prefix all those filenames with their full local path on my system. So, for example, the image reference to "self-r-beats-psychiatry.gif" becomes "file:///D:/websites/website-Self-Realization/self-r-beats-psychiatry.gif", which would work on my system but would be a broken reference on the uploaded page on my public website.

The only way to work round this that I'm yet aware of is to copy and paste the HTML code only, which is possible but often inconvenient - or of course to remember to do the relevant search/replace operation to remove that dratted path from all the filenames.

I assume that the Windows clipboard behaves in that perverse way to serve some helpful function for some users in particular circumstances, though from my perspective this behaviour represents a serious bug, which corrupts my data.

So, what I'd really like to know is, does anyone know a means to stop this troublesome behaviour of Windows - such as by means of a registry hack?


My System SpecsSystem Spec
.

Reply

 Clipboard corrupts HTML code




Thread Tools



Similar help and support threads for2: Clipboard corrupts HTML code
Thread Forum
Primary display corrupts when watching YouTube videos. Graphic Cards
Looking for code to disable HTML in Contact Form Browsers & Mail
Spoolsv corrupts on boot BSOD Help and Support
Solved Win 7 copy corrupts Win XP filesystem General Discussion
Windows 7 corrupts every couple of days. General Discussion
some help with HTML code Browsers & Mail
Registry corrupts after restarting, every time. BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:39 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33