Open dennisverheijen opened 3 years ago
We have the exact same problem
Hi @danielo-unity3d and @dennisverheijen ,
Thank you for this feature request. Unfortunately, this feature is not covered yet. What do you think if a new flag removes the HTML tags?
I think that (even if we don't want everything in one file) if we are writing a txt file, then the HTML tags should automatically be stripped (without having to flip a switch).
I agree with you, it's a nice feature. I will try to implement it asap. If you like to contribute to the project is more than welcome :)
Just stripping HTML tags is not a trivial feature, alas. In some cases the license text also gets stripped. In many cases the page headers are left. For example: https://opensource.org/licenses/mit-license.php Which variant would work best here?
A feature request:
For our projects the desired output is a single "licenses.txt"-style file that contains the actual texts of the licenses for each library. For each library, the name and version is also needed; the other properties like project URL and Description are not mandatory for our use case.
We could use the
--export-license-texts
option and then concatenate all these files and prefixing each one with the filename. However, most of the 'nuget downloaded licenses' contain HTML markup, example:This markup looks a bit odd in a .txt file, so ideally it would just use the actual text content of this HTML file.
Is there any way this can already be achieved with the current version of your tool?