Simplifies the IContentSection so that there's no nesting of interface classes and updates some unit tests

This commit is contained in:
Shannon
2013-09-16 15:52:59 +10:00
parent 81b43545c1
commit 09b68a75be
65 changed files with 577 additions and 504 deletions

View File

@@ -14,7 +14,7 @@ namespace umbraco.editorControls.tinymce
{
public static string cleanImages(string html)
{
var allowedAttributes = UmbracoConfiguration.Current.UmbracoSettings.Content.Imaging.AllowedAttributes.Select(x => x.ToLower()).ToList();
var allowedAttributes = UmbracoConfiguration.Current.UmbracoSettings.Content.ImageTagAllowedAttributes.Select(x => x.ToLower()).ToList();
//Always add src as it's essential to output any image at all
if (allowedAttributes.Contains("src") == false)