summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/table/js/cell.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-24 13:22:08 +0000
committeralecpl <alec@alec.pl>2010-06-24 13:22:08 +0000
commit2011bef155aacdfa8461a4d5c2cd3988d946d135 (patch)
tree15eb4903597ded4ea1d6cbe3c9e18d6d31f13f0a /program/js/tiny_mce/plugins/table/js/cell.js
parentf821fecac880c8e4b3ca33897b6a32c140348c65 (diff)
- TinyMCE 3.3.7
Diffstat (limited to 'program/js/tiny_mce/plugins/table/js/cell.js')
-rw-r--r--program/js/tiny_mce/plugins/table/js/cell.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/tiny_mce/plugins/table/js/cell.js b/program/js/tiny_mce/plugins/table/js/cell.js
index f24619172..b5fc1fda3 100644
--- a/program/js/tiny_mce/plugins/table/js/cell.js
+++ b/program/js/tiny_mce/plugins/table/js/cell.js
@@ -24,7 +24,7 @@ function init() {
var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor'));
var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor'));
var className = ed.dom.getAttrib(tdElm, 'class');
- var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");;
+ var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1");
var id = ed.dom.getAttrib(tdElm, 'id');
var lang = ed.dom.getAttrib(tdElm, 'lang');
var dir = ed.dom.getAttrib(tdElm, 'dir');