Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328069 - [navigation] URL Hyperlinking: handle single-quoted URLs just like double-quoted URLs
Summary: [navigation] URL Hyperlinking: handle single-quoted URLs just like double-quo...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.7 M3   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 15:11 EDT by Nitin Dahyabhai CLA
Modified: 2010-10-19 10:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Dahyabhai CLA 2010-10-18 15:11:31 EDT
The doc for org.w3c.dom.DOMImplementation includes a link: <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'> .  Because it was written with single quotes (perfectly legal), the trailing single quote is included in the hyperlink region.  This would not happen if the special handling already done for double quotes in org.eclipse.jface.text.hyperlink.URLHyperlinkDetector also be applied to single quotes.
Comment 1 Dani Megert CLA 2010-10-19 09:28:02 EDT
Fixed in org.eclipse.jface.text.hyperlink.URLHyperlinkDetector rev. 1.20.
Available in builds >= N20101019-2000.
Comment 2 Nitin Dahyabhai CLA 2010-10-19 10:50:51 EDT
Thanks, Dani.