Bug 170189 - Paste should replace "&" by "&"
Summary: Paste should replace "&" by "&"
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: wst.xml-triaged CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2007-01-11 04:56 EST by Litrik De Roy CLA
Modified: 2016-01-27 11:41 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Litrik De Roy CLA 2007-01-11 04:56:02 EST
Currently you always need to fix URLs after pasting them from a browser into the XML editor.

When you paste a string containing an "&" (ampersand) into XML, it would be nice if the "&" would automatically be replaced by "&".

Of course, this replace should not occur if the "&" is part of an entity (like "&" itself, or " ").
Comment 1 David Williams CLA 2007-01-11 14:10:50 EST
We'd at least want to also add a preference to control this behavior, but it's a good idea. 

Comment 2 Ian Tewksbury CLA 2010-04-05 16:31:46 EDT
Still a valid idea in WTP 3.2
Comment 3 Nitin Dahyabhai CLA 2010-04-07 20:41:02 EDT
It would require a preference, similar to JDT, so that literal pastes are still possible.