We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d19bc3 + 3ff3198 commit 90bdc10Copy full SHA for 90bdc10
Doppler.HtmlEditorApi/Domain/DopplerHtmlDocument.cs
@@ -110,7 +110,10 @@ public void SanitizeDynamicContentNodes()
110
}
111
112
var imgNode = dynamicContentNodes[i].SelectSingleNode(".//img");
113
- imgNode?.SetAttributeValue("src", "[[[DC:IMAGE]]]");
+ if (imgNode != null && imgNode.GetAttributeValue("data-dc-type", null) == null)
114
+ {
115
+ imgNode.SetAttributeValue("src", "[[[DC:IMAGE]]]");
116
+ }
117
118
119
0 commit comments