@Component @Named(value="diff.html") @Singleton @Unstable public class DiffHTMLScriptService extends Object implements ScriptService
| Constructor and Description |
|---|
DiffHTMLScriptService()
Default component constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
unified(String previousHTML,
String nextHTML)
Computes the changes between the given HTML fragments and returns them in the unified format.
|
public DiffHTMLScriptService()
public String unified(String previousHTML, String nextHTML)
previousHTML - the previous version of the HTMLnextHTML - the next version of the HTMLCopyright © 2004–2019 XWiki. All rights reserved.