Skip to content

<del> is outside of tag when changing 1st word of this tag #5

@lenaelika

Description

@lenaelika

Example:
<h1>Enormous spider</h1> => <h1>Huge spider</h1>

After applying HtmlDiff:
<del class="diff-html-removed" id="removed-htmldiff-0">Enormous </del><h1><ins class="diff-html-added" id="added-htmldiff-0">Huge </ins>spider</h1>

<del> is outside of <h1> tag, which looks wrong in diff preview.

The same behaviour for <p> tag, it looks like the word was removed from other paragraph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions