Skip to content

Commit d8cf16b

Browse files
committed
Site fixes to pass tests
- Avoid nested `<p>`. - Don't nest `<pre>` into `<p>` they're both paragraph primitives.
1 parent 0e6abd5 commit d8cf16b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

_includes/templates/download.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h2 style="text-align: center">{{ page.verify_title }}</h2>
116116

117117
{% if page.version > 4 %}
118118
<h2 style="text-align: center" id="{{page.verify_download | slugify}}">{{page.verify_download}}</h2>
119-
<p>{{page.verification_recommended}}</p>
119+
{{page.verification_recommended}}
120120
<details>
121121
{% assign GPG = "C:\Program Files\Gnu\GnuPg\gpg.exe" %}
122122
<summary><strong>{{page.windows_instructions}}</strong></summary>
@@ -147,7 +147,7 @@ <h2 style="text-align: center" id="{{page.verify_download | slugify}}">{{page.ve
147147
{{page.gpg_download_other}}
148148
<a href="{{GPG_DOWNLOAD_URL}}">{{page.gpg_download_options}}</a></p></li>
149149

150-
<li><p>{{OBTAIN_RELEASE_KEY}}</p>
150+
<li>{{OBTAIN_RELEASE_KEY}}
151151

152152
<pre class="highlight"><code>{{GPG}}{{site.strings.gpg_keyserver}} --recv-keys {{example_builder_key}}</code></pre>
153153

@@ -195,7 +195,7 @@ <h2 style="text-align: center" id="{{page.verify_download | slugify}}">{{page.ve
195195
{{page.gpg_download_other}}
196196
<a href="{{GPG_DOWNLOAD_URL}}">{{page.gpg_download_options}}</a></p></li>
197197

198-
<li><p>{{OBTAIN_RELEASE_KEY}}</p>
198+
<li>{{OBTAIN_RELEASE_KEY}}
199199

200200
<pre class="highlight"><code>gpg{{site.strings.gpg_keyserver}} --recv-keys {{example_builder_key}}</code></pre>
201201

@@ -237,7 +237,7 @@ <h2 style="text-align: center" id="{{page.verify_download | slugify}}">{{page.ve
237237

238238
<p>{{page.checksum_warning_and_ok | replace, "$(SHASUMS_OK)", page.localized_checksum_ok}} <code>{{FILE_PREFIX}}-{{site.data.binaries.lin64}}: {{page.localized_checksum_ok}}</code></p></li>
239239

240-
<li><p>{{OBTAIN_RELEASE_KEY}}</p>
240+
<li>{{OBTAIN_RELEASE_KEY}}
241241

242242
<pre class="highlight"><code>gpg{{site.strings.gpg_keyserver}} --recv-keys {{example_builder_key}}</code></pre>
243243

_posts/en/pages/2017-01-01-download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ obtain_release_key: >
9191
9292
<p>For example, given the <a href='$(BUILDER_KEYS_TXT_URL)'><code>
9393
builders-key/keys.txt</code></a> line
94-
<pre class='highlight'><code>$(EXAMPLE_BUILDERS_LINE)</code></pre>you could load that
94+
<code>$(EXAMPLE_BUILDERS_LINE)</code>you could load that
9595
key using this command:</p>
9696
9797
choosing_builders: >

0 commit comments

Comments
 (0)