Skip to content

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

@vickyRathee

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>

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