Commit c6af0cbd authored by dsnopek's avatar dsnopek Committed by joseph.olstad

Issue #2839699 by dsnopek: Cannot delete value of plain text field (image title attribute)

parent 54cbc4b1
......@@ -238,6 +238,11 @@
if (info.attributes[a]) {
element.attr(a, info.attributes[a]);
}
else if (element.attr(a)) {
// If the element has the attribute, but the value is empty, be
// sure to clear it.
element.removeAttr(a);
}
});
delete(info.attributes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment