-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a HTML snippet differ instead of RML
It's more generically useful
- Loading branch information
Showing
24 changed files
with
88 additions
and
1,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<body xmlns:diff="http://namespaces.shoobx.com/diff"> | ||
<div id="id"> | ||
<p><diff:insert>Let's see. </diff:insert>This is some simple text demonstrating the features of the <b diff:delete-formatting=""><i diff:insert-formatting="">human text differ</i></b>. This <u diff:delete-formatting="">feature</u> attempts to make changelog readable for humans. The <i diff:insert-formatting="">human text differ</i> uses sentences as its first order matching. <diff:delete>Let's see.</diff:delete><invalid><diff:insert>It should handle unknown tags just fine.</diff:insert></invalid></p> | ||
</div> | ||
</body> |
This file was deleted.
Oops, something went wrong.
12 changes: 6 additions & 6 deletions
12
tests/test_data/complex-text-update.left.rml → ...s/test_data/complex-text-update.left.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<document title="insert-node"> | ||
<story id="id"> | ||
<body> | ||
<div id="id"> | ||
|
||
<para> | ||
<p> | ||
This is some simple text demonstrating the features of the <b>human text | ||
differ</b>. This <u>feature</u> attempts to make changelog readable for | ||
humans. The human text differ uses sentences as its first order | ||
matching. Let's see. | ||
</para> | ||
</p> | ||
|
||
</story> | ||
</document> | ||
</div> | ||
</body> |
14 changes: 7 additions & 7 deletions
14
...s/test_data/complex-text-update.right.rml → .../test_data/complex-text-update.right.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<document title="insert-node"> | ||
<story id="id"> | ||
<body> | ||
<div id="id"> | ||
|
||
<para> | ||
<p> | ||
Let's see. This is some simple text demonstrating the features of the | ||
<i>human text differ</i>. This feature attempts to make changelog | ||
readable for humans. The <i>human text differ</i> uses sentences as its | ||
first order matching. | ||
</para> | ||
first order matching. <invalid>It should handle unknown tags just fine.</invalid> | ||
</p> | ||
|
||
</story> | ||
</document> | ||
</div> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<body xmlns:diff="http://namespaces.shoobx.com/diff"> | ||
<div id="id"> | ||
<p diff:insert=""> | ||
<diff:insert>Simple text</diff:insert> | ||
</p> | ||
</div> | ||
</body> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<body> | ||
<div id="id"> | ||
</div> | ||
</body> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<body> | ||
<div id="id"> | ||
<p>Simple text</p> | ||
</div> | ||
</body> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.