Merge pull request #4140 from sbwalker/dev

convert Quill's empty content to empty string
This commit is contained in:
Shaun Walker
2024-04-12 15:11:01 -04:00
committed by GitHub

View File

@ -248,6 +248,11 @@
if (richhtml != _originalrichhtml && !string.IsNullOrEmpty(richhtml)) if (richhtml != _originalrichhtml && !string.IsNullOrEmpty(richhtml))
{ {
// convert Quill's empty content to empty string
if (richhtml == "<p><br></p>")
{
richhtml = string.Empty;
}
return richhtml; return richhtml;
} }
else else