Skip to content

Commit eec4c81

Browse files
rvaggpiscisaureus
authored andcommitted
doc: fix formatting in LICENSE for RTF generation
Current format does not render properly when converted to RTF by the tools/license2rtf.js tool, specifically the wrong sections are presented as bold, giving the wrong emphasis to the document. This fix makes the formatting more consistent, with non-license summary sections bold and the licenses themselves unformatted. PR: #436 Reviewed-by: Ben Noordhuis <[email protected]> Reviewed-by: Bert Belder <[email protected]>
1 parent e789103 commit eec4c81

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

LICENSE

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
io.js is licensed for use as follows:
22

3-
====
4-
3+
"""
54
Copyright io.js contributors. All rights reserved.
65

76
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -21,12 +20,12 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2120
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2221
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
2322
IN THE SOFTWARE.
24-
25-
===
23+
"""
2624

2725
This license applies to parts of io.js originating from the
2826
https://github.com/joyent/node repository:
2927

28+
"""
3029
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
3130
Permission is hereby granted, free of charge, to any person obtaining a copy
3231
of this software and associated documentation files (the "Software"), to
@@ -45,11 +44,12 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4544
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4645
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
4746
IN THE SOFTWARE.
47+
"""
4848

49-
====
49+
The io.js license applies to all parts of io.js that are not externally
50+
maintained libraries.
5051

51-
This license applies to all parts of io.js that are not externally
52-
maintained libraries. The externally maintained libraries used by io.js are:
52+
The externally maintained libraries used by io.js are:
5353

5454
- V8, located at deps/v8. V8's license follows:
5555
"""

0 commit comments

Comments
 (0)