notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
]] is recognized as part of the url
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
If I open the xml, it recognizes the url link, which is enclosed in CDATA. ]] is recognized as part of the url and is used in the browser's address bar when you double-click the url.
This problem has been around for several years but I'm only writing now. Now I work a lot with xml files:
Example of an element in xml:
<URL><![CDATA[https://www.site.com/premiumcord-2x-cinch-2x-cinch-m-m-5m/112628/product]]></URL>
When I double-click on it, I see an invalid url in the address bar
https://www.site.com/premiumcord-2x-cinch-2x-cinch-m-m-5m/112628/product]]
I don't create these xmls, so I can't control whether the urls should be in CDATA or not.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem by opening the supplied XML example in Notepad++ and double-clicking the URL. Trace how the XML CDATA closing marker is included in the detected URL; done means the marker is excluded from the address opened by the editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, xml
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100