Skip to content

Commit ecbc398

Browse files
committed
Encode to UTF-8
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 723df30 commit ecbc398

File tree

1 file changed

+53
-53
lines changed

1 file changed

+53
-53
lines changed

templates/template_license_ref_by_license.html

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
<!doctype html>
22
<html>
33
<head>
4-
<style type="text/css">
5-
div.additional-license-text-list {display:block}
6-
body {font-family: Helvetica, Arial, sans-serif;}
7-
pre {white-space: pre-wrap;}
8-
li {font-weight: bold;}
9-
#header {font-family: Helvetica; font-style:italic}
10-
</style>
11-
<title>{{ variables['title'] }}</title>
4+
<style type="text/css">
5+
div.additional-license-text-list {display:block}
6+
body {font-family: Helvetica, Arial, sans-serif;}
7+
pre {white-space: pre-wrap;}
8+
li {font-weight: bold;}
9+
#header {font-family: Helvetica; font-style:italic}
10+
</style>
11+
<title>{{ variables['title'] }}</title>
1212
</head>
1313
<body>
14-
<h1>{{ variables['title'] }}</h1>
15-
<pre id="header">
14+
<h1>{{ variables['title'] }}</h1>
15+
<pre id="header">
1616

1717
This document lists the open source and third-party components of a [COMPANY NAME] product with additional information regarding licenses, acknowledgments and required copyright notices for these components. This document is for internal [COMPANY NAME] use only.
1818

19-
</pre>
19+
</pre>
2020

21-
<hr>
22-
<div class="oss-table-of-contents">
23-
{% for license in licenses_list %}
24-
<p>
25-
<a href="#group_{{ loop.index0 }}">{{ license.name }}
26-
</a>
27-
</p>
28-
{% endfor %}
29-
30-
</div>
31-
<hr>
21+
<hr>
22+
<div class="oss-table-of-contents">
23+
{% for license in licenses_list %}
24+
<p>
25+
<a href="#group_{{ loop.index0 }}">{{ license.name }}
26+
</a>
27+
</p>
28+
{% endfor %}
3229

33-
{% for license in licenses_list %}
34-
<div id="group_{{ loop.index0 }}">
35-
<h3>{{ license.name }}</h3>
36-
<p>This product contains the following open source software packages licensed under the terms of the license: {{license.name}}</p>
37-
38-
<div class="oss-component" id="component_{{ loop.index0 }}">
39-
{%for about_object in abouts %}
40-
{% if loop.first %}
41-
{% if license.url %}
42-
<p>License Gallery URL: <a href="{{ license.url }}">{{license.url}}</a> </p>
43-
{% endif %}
44-
{% endif %}
45-
{% if license.key in about_object.license_key.value %}
46-
<li>{{ about_object.name.value }}{% if about_object.version.value %} - Version {{ about_object.version.value }}{% endif %}</li>
47-
{% if about_object.copyright.value %}
48-
<pre>{{about_object.copyright.value}}</pre>
49-
{% endif %}
50-
{% if about_object.notice_file.value %}
51-
<pre>{{ about_object.notice_file.value }}</pre>
52-
{% elif about_object.notice_file.value %}
53-
<pre class="component-notice">{{ about_object.notice_text.value }}</pre>
54-
{% endif %}
55-
{% endif %}
56-
{% if loop.last %}
57-
<pre>{{license.text}}</pre>
58-
{% endif %}
59-
{% endfor %}
60-
</div>
61-
</div>
62-
{% endfor %}
63-
<hr>
30+
</div>
31+
<hr>
32+
33+
{% for license in licenses_list %}
34+
<div id="group_{{ loop.index0 }}">
35+
<h3>{{ license.name }}</h3>
36+
<p>This product contains the following open source software packages licensed under the terms of the license: {{license.name}}</p>
37+
38+
<div class="oss-component" id="component_{{ loop.index0 }}">
39+
{%for about_object in abouts %}
40+
{% if loop.first %}
41+
{% if license.url %}
42+
<p>License Gallery URL: <a href="{{ license.url }}">{{license.url}}</a> </p>
43+
{% endif %}
44+
{% endif %}
45+
{% if license.key in about_object.license_key.value %}
46+
<li>{{ about_object.name.value }}{% if about_object.version.value %} - Version {{ about_object.version.value }}{% endif %}</li>
47+
{% if about_object.copyright.value %}
48+
<pre>{{about_object.copyright.value}}</pre>
49+
{% endif %}
50+
{% if about_object.notice_file.value %}
51+
<pre>{{ about_object.notice_file.value }}</pre>
52+
{% elif about_object.notice_file.value %}
53+
<pre class="component-notice">{{ about_object.notice_text.value }}</pre>
54+
{% endif %}
55+
{% endif %}
56+
{% if loop.last %}
57+
<pre>{{license.text}}</pre>
58+
{% endif %}
59+
{% endfor %}
60+
</div>
61+
</div>
62+
{% endfor %}
63+
<hr>
6464
<hr>
6565
<h3><a id="End">End</a></h3>
6666
</body>

0 commit comments

Comments
 (0)