Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: force attributes to be double quoted don't work for:img tag [27295]

$
0
0
Client\MicrosoftAjax.Extended\HtmlEditorExtender\HtmlEditorExtenderBehavior.Pre.js
line:722 change to
if (tag.toLowerCase().substring(0, 2) != '<a' && tag.toLowerCase().substring(0, 4) != '<img') {
sQA = /\=\'([^\'])*\'/g; //single quoted attributes
nQA = /\=([^\"][^\s\/\>]*)/g; //non double quoted attributes
return tag.replace(sQA, '="$1"').replace(nQA, '="$1"');
}
excample:
<img src="http://u.xxx.com/thumbnailimage.html?uid=xxx&dir=Blogs&file=xxx.png">

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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