docs: close paragraphs before preformatted text

It's illegal to nest block-level elements such as <pre> inside <p> in
HTML. This means that when the paragraphs gets closed after a <pre>-tag,
we end up closing a non-existent tag, so the browser inserts a dummy
<p>-tag. This is entirely pointless, so let's just close these tags
before the <pre>-tag instead.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Erik Faye-Lund
2019-04-18 16:12:08 +02:00
parent 5630540a27
commit 41573d486f
4 changed files with 8 additions and 6 deletions

View File

@@ -62,9 +62,11 @@ older than the given year.
<p> <p>
For example, if the game was released in 2001, do For example, if the game was released in 2001, do
</p>
<pre> <pre>
export MESA_EXTENSION_MAX_YEAR=2001 export MESA_EXTENSION_MAX_YEAR=2001
</pre> </pre>
<p>
before running the game. before running the game.
</p> </p>

View File

@@ -46,14 +46,14 @@ Mesa releases are available in two formats: <tt>.tar.xz</tt> and <tt>.tar.gz</tt
<p> <p>
To unpack the tarball: To unpack the tarball:
</p>
<pre> <pre>
tar xf mesa-Y.N.P.tar.xz tar xf mesa-Y.N.P.tar.xz
</pre> </pre>
or <p>or</p>
<pre> <pre>
tar xf mesa-Y.N.P.tar.gz tar xf mesa-Y.N.P.tar.gz
</pre> </pre>
</p>
<h1>Contents</h1> <h1>Contents</h1>

View File

@@ -357,6 +357,7 @@ of those, as they'll have the right values for your system:
<p> <p>
32-bit build on x86 linux: 32-bit build on x86 linux:
</p>
<pre> <pre>
[binaries] [binaries]
c = '/usr/bin/gcc' c = '/usr/bin/gcc'
@@ -378,10 +379,10 @@ cpu_family = 'x86'
cpu = 'i686' cpu = 'i686'
endian = 'little' endian = 'little'
</pre> </pre>
</p>
<p> <p>
64-bit build on ARM linux: 64-bit build on ARM linux:
</p>
<pre> <pre>
[binaries] [binaries]
c = '/usr/bin/aarch64-linux-gnu-gcc' c = '/usr/bin/aarch64-linux-gnu-gcc'
@@ -397,10 +398,10 @@ cpu_family = 'aarch64'
cpu = 'aarch64' cpu = 'aarch64'
endian = 'little' endian = 'little'
</pre> </pre>
</p>
<p> <p>
64-bit build on x86 windows: 64-bit build on x86 windows:
</p>
<pre> <pre>
[binaries] [binaries]
c = '/usr/bin/x86_64-w64-mingw32-gcc' c = '/usr/bin/x86_64-w64-mingw32-gcc'
@@ -416,7 +417,6 @@ cpu_family = 'x86_64'
cpu = 'i686' cpu = 'i686'
endian = 'little' endian = 'little'
</pre> </pre>
</p>
</div> </div>
</body> </body>

View File

@@ -239,8 +239,8 @@ your email administrator for this.)
<p> <p>
Tick the following when creating the MR. It allows developers to Tick the following when creating the MR. It allows developers to
rebase your work on top of master. rebase your work on top of master.
<pre>Allow commits from members who can merge to the target branch</pre>
</p> </p>
<pre>Allow commits from members who can merge to the target branch</pre>
<p> <p>
If you revise your patches based on code review and push an update If you revise your patches based on code review and push an update
to your branch, you should maintain a <strong>clean</strong> history to your branch, you should maintain a <strong>clean</strong> history