Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-246462: Duplicate Text works incorreclty on a tag containing CDATA with line breaks

$
0
0
Reporter Jura Gorohovsky (gorohoroh) Jura Gorohovsky (gorohoroh)
Created Apr 5, 2011 6:47:02 PM
Updated Jan 14, 2012 1:27:58 AM
Resolved Jan 14, 2012 1:27:58 AM
Priority Normal
Type Bug
Fix versions No Fix versions
State Can't Reproduce
Assignee Slava Tutushkin (slava.tutushkin)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
<description><![CDATA[This attribute is used to define a selectable region for hypertext source links associated with a figure to create an image map.
Note: It is advisable to use the usemap attribute for the <img> element and the associated <map> element to define hotspots instead of the shape attribute.]]></description>


Steps to reproduce:
  1. Put the caret on an opening XML tag that CDATA with one or more line breaks
  2. Invoke "Duplicate text" without selecting the tag. Result: Only the part of tag content that precedes the first line break is duplicated, resulting in invalid XML.

Workaround: select the entire tag before invoking "Duplicate text"

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>