Skip to content

Options to add <ins> or <del> tag with custom class in result? #170

Description

@vickyRathee

Anyway to print the result with <ins> and <del> tag?

var first = "<p>This is a paragraph</p>"
var second= "<p>This is a changed paragraph</p>"

var diff = htmlDiffer.diffHtml(first , second);

// Should result in
<p>This is a <ins>changed</ins> paragraph</p>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions