Simplifies the IContentSection so that there's no nesting of interface classes and updates some unit tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user