Open jamin-aws-ospo opened 3 years ago
Ah! This one is interesting. It's actually not quite a bug, but it is an oddity (and I'd be open to fixes). A couple things going on:
Putting the second item another way, there are three representations of text here:
A. What you pasted. B. The actual text of the license. C. askalono's post-processed form of the license text.
Internally, it's using texts B and C. But, the website shows a diff between A and B. This was semi-intentional, as form C is quite ugly to look at: it has no newlines, special characters, etc. It's just a long space-separated string of lowercase words.
There's potentially some merit to running some text pre-processing and sending that to the web UI to diff with instead, before the more "destructive" text processors get to it. That functionality doesn't exist, but I'm open to the idea of it.
In the following diff, the 4's of 2014 (first copyright and second copyright line) are not present in the diff representation on the right: