Spam element containing style with background-color is divided to two span elements #16195
Labels
resolution:duplicate
This issue is a duplicate of another issue and was merged into it.
type:bug
This issue reports a buggy (incorrect) behavior.
📝 Provide detailed reproduction steps (if any)
<span style="background-color:#4194DC;display:inline-block;font-size:0;height:5px;line-height:15px;margin:0 7.5px 0 0;width:5px;">.</span>
<span style="background-color:#4194DC;"><span style="display:inline-block;font-size:0;height:5px;line-height:15px;margin-bottom:0;margin-right:7.5px;margin-top:0;width:5px;">.</span></span>
✔️ Expected result
The code should look the same as the inserted code
<span style="background-color:#4194DC;display:inline-block;font-size:0;height:5px;line-height:15px;margin:0 7.5px 0 0;width:5px;">.</span>
❌ Actual result
The code is divided to two span elements.
One element with style containing only background-color
<span style="background-color:#4194DC;">
and second element with remaining style<span style="display:inline-block;font-size:0;height:5px;line-height:15px;margin-bottom:0;margin-right:7.5px;margin-top:0;width:5px;">
❓ Possible solution
If you have ideas, you can list them here. Otherwise, you can delete this section.
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: