ng-diff-match-patch icon indicating copy to clipboard operation
ng-diff-match-patch copied to clipboard

Treat HTML as plain text instead

Open ajaytalreja opened this issue 6 years ago • 1 comments

I am facing a problem where left hand side is changed from <'b'> bold tag to <'strong'> strong tag. in this case it shows <'strong-b-'> b being crossed. while in right hand side it was <'b'> therefore it was applying bold to text directly. A user who is not a developer will surely not understand.

Any way where we could treat HTML as text instead of applying style like any compare tool or VS TFS history comparison?

ajaytalreja avatar Jun 30 '18 08:06 ajaytalreja

try using the component (see merged pull request https://github.com/elliotforbes/ng-diff-match-patch/pull/14)

ghareeb-falazi avatar Aug 09 '18 08:08 ghareeb-falazi