This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Commit dd5dc12
authored
Merge pull request #77 from geohci/refactor-expand-node-differ
* Support detailed diffs for HTMLEntities
* Unrecognized HTML tags are just categorized as `Other Tag`
* Improve text formatting handling:
* Treat text formatting like templates -- i.e. changes to type and/or contents trigger a change (as opposed to just type)
* HTML tags are now treated case-insensitively in line with official parser so e.g., `<Small>` is the same as `<small>` -> Text Formatting
* Formatting is context-dependent so preserve original tag to avoid parsing errors later on in processing
* Begin incorporating mwconstants external library in place of edit-types-maintained constants
Closes #75 and addresses parts of #74 .File tree
11 files changed
+55
-8391
lines changed- .github/workflows
- mwedittypes
- tests
11 files changed
+55
-8391
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments