regressions: Enable both tests for bug 576879 (not fixed).
[libguestfs.git] / make-recipes.sh
index b93b0b2..7bd8114 100755 (executable)
@@ -25,7 +25,7 @@ cat <<EOF
   <body>
     <h1>guestfish recipes</h1>
     <p>You can also find these in the
-    <a href="http://git.et.redhat.com/?p=libguestfs.git;a=tree;f=recipes;hb=HEAD"><code>recipes/</code>
+    <a href="http://git.annexia.org/?p=libguestfs.git;a=tree;f=recipes;hb=HEAD"><code>recipes/</code>
     subdirectory</a> of the source.</p>
 
     <p>
@@ -66,9 +66,9 @@ for f in recipes/*.sh; do
         cat recipes/$b.html
     fi
     echo '<h3>'$b'.sh</h3>'
-    echo '<pre class="example">'
-    sed -e 's,&,\&amp;,g' -e 's,<,\&lt;,g' -e 's,>,\&gt;,g' < $f
-    echo '</pre>'
+    echo '<div class="example">'
+    source-highlight --output=STDOUT --src-lang=sh --input=$f
+    echo '</div>'
     if [ -r recipes/$b.example ]; then
         echo '<h3>Example output</h3>'
         echo '<pre>'