libtiff: doc: Clean up HTML tags

From 6fcf5fd957f6459bd5a09f9e7a218678103e6030 Mon Sep 17 00:00:00 2001
From: Roger Leigh <[EMAIL REDACTED]>
Date: Sun, 5 Jun 2022 07:25:24 +0100
Subject: [PATCH] doc: Clean up HTML tags

---
 doc/libtiff.rst | 5 ++---
 doc/support.rst | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/doc/libtiff.rst b/doc/libtiff.rst
index 849d8ac5..5b6b8dfd 100644
--- a/doc/libtiff.rst
+++ b/doc/libtiff.rst
@@ -27,8 +27,7 @@ The material presented in this chapter is a basic introduction
 to the capabilities of the library; it is not an attempt to describe
 everything a developer needs to know about the library or about TIFF.
 Detailed information on the interfaces to the library are given in
-the <a href="man/index.html">UNIX manual pages</a> that accompany
-this software.
+the :doc:`manpages` that accompany this software.
 
 Michael Still has also written a useful introduction to libtiff for the
 IBM DeveloperWorks site available at
@@ -513,7 +512,7 @@ read data in the case ``PLANARCONFIG_SEPARATE``,...
 
             for (row = 0; row &lt; imagelength; row++)
                 for (s = 0; s &lt; nsamples; s++)
-                    TIFFReadScanline(tif, buf, row, s);</tt>
+                    TIFFReadScanline(tif, buf, row, s);
 
 ...then problems would arise if ``RowsPerStrip`` was not one
 because the order in which scanlines are requested would require
diff --git a/doc/support.rst b/doc/support.rst
index c76e0760..1ddea5ee 100644
--- a/doc/support.rst
+++ b/doc/support.rst
@@ -115,7 +115,7 @@ for some of the more esoteric portions of the 6.0 TIFF spec.
         ``DotRange``,
         ``TargetPrinter``
 
-    * - Class Y for YCbCr images</th>
+    * - Class Y for YCbCr images
       - ``SamplesPerPixel`` = 3
 
         ``BitsPerSample`` = <8,8,8>