| Summary: | Typing single quote shouldn't automatically insert pair outside of tags. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Nitin Dahyabhai <thatnitind> | ||||
| Component: | wst.html | Assignee: | Rakesh <rakes123> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | nsand.dev, rakes123, sarika.sinha | ||||
| Version: | 3.2 | ||||||
| Target Milestone: | 3.3 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Nitin Dahyabhai
Hi Nitin, could you provide little more detail on how to reproduce it? Rakesh, Here the problem is if you type "that" and then a single apostrophe "'", it automatically inserts a second apostrophe. "that''". But you actually wanted to write "that's" so you will have to remove the second auto generarted single autostrophe. Created attachment 178498 [details]
patch
only one single quote will appear in content.
Comment on attachment 178498 [details]
patch
I simplified the logic in the checkRegions. It should only ever really concern itself with pairing for attribute regions. Thank you for the patch, though.
Checked in my changes. |