-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
Description
Description of the Issue
The syntax highlighting for the currently selected element in an XML files has a small bug when there are two attributes of which the first one uses single quotes and has a space in the attribute content.
Steps to Reproduce the Issue
- Switch to syntax highlighting to XML
- copy and paste this line:
<element attribute1='some content' attribute2='1234' /> - move the cursor inside the element
Expected Behavior
The attributes and their content get a yellow background.
Actual Behavior
At the first attribute, the yellow background stops with the space, at the second element, the yellow background starts after the first character.

Debug Information
Notepad++ v7.4.1 (32-bit)
Build time : May 18 2017 - 02:00:37
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll NppTextFX.dll PluginManager.dll XMLTools.dll
Reactions are currently unavailable