Closed Bananeweizen closed 1 year ago
Yes currently we have no comparator that compares html documents semantically.
Do you like to add one (similar to XmlComparator ) e.g. based on this: https://stackoverflow.com/questions/47310845/compare-two-html-documents-using-jsoup-java ?
No, that's way to complicated for the problem at hand. The html can simply be handled by the XML comparator, too, since this is only about ignoring whitespace for now. Can two roles be specified for the same component by adding a second line?
That being said, if the problem is actually the git line ending normalization, then adding that HTML comparator will also not help in the long run...
HTML is not XML so it won't work. but maybe one can simply disable eol conversions for html files: https://stackoverflow.com/a/39461324/9503281
Trying to compile m2e with a Tycho snapshot (of today) gives me this:
The about.html hasn't changed. If I read the code of the baseline plugin right, it does a strict byte comparison. That will fail, if people have local git line ending conversions enabled (which is probably the case on my Windows machine).