From 4e8321de13225f1f5bdec8f39993e9b1aa0831a8 Mon Sep 17 00:00:00 2001
From: Alec Theriault <alec.theriault@gmail.com>
Date: Sun, 10 Feb 2019 03:32:52 -0800
Subject: Removes `haddock-test`s dependency on `xml`/`xhtml` (#1027)

This means that `html-test`, `latex-test`, `hoogle-test`, and
`hypsrc-test` now only depend on GHC boot libs. So we should
now be able to build and run these as part of GHC's testsuite. \o/

The reference output has changed very slightly, in three ways:

  * we don't convert quotes back into `&quot;` as the `xml` lib did
  * we don't add extra `&nbsp;` as the `xml` lib did
  * we now remove the entire footer `div` (instead of just emptying it)
---
 html-test/ref/Bug85.html | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

(limited to 'html-test/ref/Bug85.html')

diff --git a/html-test/ref/Bug85.html b/html-test/ref/Bug85.html
index 57eaeb36..641d00bb 100644
--- a/html-test/ref/Bug85.html
+++ b/html-test/ref/Bug85.html
@@ -10,14 +10,14 @@
      /><script src="haddock-bundle.min.js" async="async" type="text/javascript"
     ></script
     ><script type="text/x-mathjax-config"
-    >MathJax.Hub.Config({ tex2jax: { processClass: &quot;mathjax&quot;, ignoreClass: &quot;.*&quot; } });</script
+    >MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script
     ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"
     ></script
     ></head
   ><body
   ><div id="package-header"
     ><span class="caption empty"
-      ></span
+      >&nbsp;</span
       ><ul class="links" id="page-menu"
       ><li
 	><a href="#"
@@ -68,7 +68,7 @@
 		  >Foo</a
 		  > f (f x)</td
 		><td class="doc empty"
-		></td
+		>&nbsp;</td
 		></tr
 	      ></table
 	    ></div
@@ -96,7 +96,7 @@
 		  >Baz</a
 		  ></td
 		><td class="doc empty"
-		></td
+		>&nbsp;</td
 		></tr
 	      ></table
 	    ></div
@@ -124,15 +124,13 @@
 		  >Qux</a
 		  ></td
 		><td class="doc empty"
-		></td
+		>&nbsp;</td
 		></tr
 	      ></table
 	    ></div
 	  ></div
 	></div
       ></div
-    ><div id="footer"
-    ></div
     ></body
   ></html
 >
-- 
cgit v1.2.3