From 7e714b1a405c971d8662893052be9aa984ede56c Mon Sep 17 00:00:00 2001 From: hartvig Date: Mon, 9 Jan 2012 11:56:04 -0100 Subject: [PATCH] Work items: 30423 --- .../editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs b/components/editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs index 730442344e..770239a15e 100644 --- a/components/editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs +++ b/components/editorControls/tinyMCE3/webcontrol/TinyMCEWebControl.cs @@ -288,7 +288,7 @@ namespace umbraco.editorControls.tinyMCE3.webcontrol string localMediaPath = IOHelper.ResolveUrl(SystemDirectories.Media); // Find all media images - string pattern = String.Format("]*src=\"(?{0}[^\"]*)\" [^>]*>", SystemDirectories.Media); + string pattern = String.Format("]*src=\"(?{0}[^\"]*)\" [^>]*>", localMediaPath); MatchCollection tags = Regex.Matches(html, pattern, RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace);