Skip to content

Commit d07d701

Browse files
author
Tom
authored
Fix deprecated/invalid html (letsencrypt#940)
* Fix anchors * Remove useless type="text/javascript" on script tag * Add space to avoid proken paragraph * Mardown adds a paragraph around that html, including the script is there is no \n betwenn them, and it's not valid html. * table is not allowed inside p * replace deprecated frameborder="0" by style="border: none;" * replace deprecated border="1" by style="border:1px" * remove invalid border="0" on input type image * attr width is not valid on a div * center is not a valid value for style float.
1 parent d20c5b8 commit d07d701

8 files changed

+60
-61
lines changed

content/en/post/2016-9-20-what-it-costs-to-run-lets-encrypt.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ We’re currently working to raise the money we need to operate through the next
1616

1717
Here’s how our 2017 budget breaks down:
1818

19-
<p>
2019
<table style="border: 1px solid gray; width: 90%; margin: auto">
2120
<tr style="background-color: #99CCFF;">
2221
<th style="font-weight: bold; text-align: left; padding: 5px; border: 1px solid gray;">Expense</th>
@@ -43,7 +42,6 @@ Here’s how our 2017 budget breaks down:
4342
<th style="font-weight: bold; text-align: left; padding: 5px; border: 1px solid gray;">$2.91M USD</th>
4443
</tr>
4544
</table>
46-
</p>
4745

4846
Staffing is our dominant cost. We currently have eight full time employees, plus two full time staff that are employed by other entities (Mozilla and EFF). This includes five operations/sysadmin staff, three software developers, one communications and fundraising person, and an executive director. Our 2017 budget covers salary and benefits for ten employees.
4947

content/en/post/2017-10-17-acme-support-in-apache-httpd.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ACME support being built in to one of the world’s most popular Web servers, Ap
1515

1616
The Apache httpd ACME module is called mod_md. It’s currently in the [development version of httpd](https://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/) and a plan is being formulated to backport it to an httpd 2.4.x stable release. The mod_md code is also [available on GitHub](https://github.com/icing/mod_md).
1717

18-
<div style="text-align: center;"><iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/gNJUpzNNWMw?rel=0" frameborder="0" allowfullscreen></iframe></div>
18+
<div style="text-align: center;"><iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/gNJUpzNNWMw?rel=0" style="border: none;" allowfullscreen></iframe></div>
1919

2020
It’s also worth mentioning that the development version of Apache httpd now includes support for an [SSLPolicy directive](https://httpd.apache.org/docs/trunk/mod/mod_ssl.html#sslpolicy). Properly configuring TLS has traditionally involved making a large number of complex choices. With the SSLPolicy directive, admins simply select a modern, intermediate, or old TLS configuration, and sensible choices will be made for them.
2121

content/en/post/2018-12-31-looking-forward-to-2019.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The number of certificates and unique domains we support continues to grow rapid
2525
<div class="figure">
2626
<div id="activeUsage" title="Let's Encrypt Growth" class="statsgraph"></div>
2727
</div>
28+
2829
<script src="/js/stats.js" async></script>
2930
<script src="/js/plotly-min.js" async></script>
3031

content/es/docs/glossary.md

Lines changed: 52 additions & 52 deletions
Large diffs are not rendered by default.

layouts/shortcodes/donorbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
{{ end }}
2121

2222
<div class="text-center">
23-
<script src="https://donorbox.org/widget.js" type="text/javascript"></script>
23+
<script src="https://donorbox.org/widget.js"></script>
2424
<iframe src="https://donorbox.org/embed/support-lets-encrypt?recurring=true&hide_donation_meter=true&language={{ $scratch.Get "lang" }}" height="685px" width="100%" style="max-width:423px; min-width:310px" seamless="seamless" id="dbox-form-embed" name="donorbox" frameborder="0" scrolling="no"></iframe>
2525
</div>

layouts/shortcodes/i18n_status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{ $scratch_up_to_date := newScratch }}
44

55
{{ $scratch.Set "nb_pages" 0 }}
6-
<table border="1">
6+
<table style="border:1px">
77
<thead>
88
<tr>
99
<th></th>

layouts/shortcodes/paypal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<input type="hidden" name="lc" value="{{ .Page.Language.Params.languageCode }}" />
44
<input type="hidden" name="cmd" value="_s-xclick" />
55
<input type="hidden" name="hosted_button_id" value="AF6VLVH49A3QN" />
6-
<input type="image" src="{{ .Page.Language.Params.paypalDonateImage }}" border="0" name="submit" title="{{ i18n "paypal_donate_title" }}" alt="{{ i18n "paypal_donate_alt" }}" />
6+
<input type="image" src="{{ .Page.Language.Params.paypalDonateImage }}" name="submit" title="{{ i18n "paypal_donate_title" }}" alt="{{ i18n "paypal_donate_alt" }}" />
77
</form>

layouts/shortcodes/sponsors.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<div class="sponsors">
3-
<div width="100%">
3+
<div>
44
<h2>{{ i18n "platinum" }}</h2>
55
<div class="text-center">
66
{{ range $.Site.Data.sponsors.platinum }}
@@ -9,7 +9,7 @@ <h2>{{ i18n "platinum" }}</h2>
99
</div>
1010
</div>
1111

12-
<div style="float: center;">
12+
<div>
1313
<h2>{{ i18n "gold" }}</h2>
1414
<div class="text-center">
1515
{{ range $.Site.Data.sponsors.gold }}
@@ -18,7 +18,7 @@ <h2>{{ i18n "gold" }}</h2>
1818
</div>
1919
</div>
2020

21-
<div style="float: center;">
21+
<div>
2222
<h2>{{ i18n "silver" }}</h2>
2323
<div class="text-center">
2424
{{ range $.Site.Data.sponsors.silver }}

0 commit comments

Comments
 (0)