From: =?utf-8?q?Bastien_ROUCARI=C3=88S?= <roucaries.bastien@gmail.com>
Date: Wed, 14 Dec 2016 15:18:12 +0100
Subject: Fix api/Image++.html

Forwarded: Yes, https://github.com/ImageMagick/ImageMagick/issues/304
---
 www/api/Image++.html | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/www/api/Image++.html b/www/api/Image++.html
index 40349ce..db90089 100644
--- a/www/api/Image++.html
+++ b/www/api/Image++.html
@@ -152,7 +152,7 @@ int main(int argc,char **argv)
     // Write the image to a file 
     image.write( "x.gif" ); 
   } 
-  catch( Exception &error_ ) 
+  catch( Exception &amp;error_ ) 
     { 
       cout &lt;&lt; "Caught exception: " &lt;&lt; error_.what() &lt;&lt; endl; 
       return 1; 
@@ -176,8 +176,8 @@ following:
   <li> Write the third image to a file.</li>
 </ol>
 <pre class="code">
-#include <Magick++.h> 
-#include <iostream> 
+#include &lt;Magick++.h> 
+#include &lt;iostream> 
 using namespace std; 
 using namespace Magick; 
 int main(int argc,char **argv) 
@@ -200,7 +200,7 @@ and the image data is never copied.
 a 100 by 100 pixel white image with a red pixel in the center and
 writes it to a file: </p>
 <pre class="code">
-#include <Magick++.h> 
+#include &lt;Magick++.h> 
 using namespace std; 
 using namespace Magick; 
 int main(int argc,char **argv) 
@@ -219,7 +219,6 @@ image.quantizeColorSpace( GRAYColorspace );
 image.quantizeColors( 256 ); 
 image.quantize( );
 </pre>
-</p>
 <p>or, more simply: </p>
 <pre class="code">
  image.type( GrayscaleType );
@@ -243,7 +242,7 @@ a <a href="Image++.html#constructor_blob">constructor</a> or <a href="Image++.ht
 <p>An example of using Image to write to a Blob follows: <br />
   </p>
 <pre class="code">
-#include <Magick++.h> 
+#include &lt;Magick++.h> 
 using namespace std; 
 using namespace Magick; 
 int main(int argc,char **argv) 
@@ -255,7 +254,7 @@ int main(int argc,char **argv)
   // Write to BLOB in JPEG format 
   Blob blob; 
   image.magick( "JPEG" ) // Set JPEG output format 
-  image.write( &blob );
+  image.write( &amp;blob );
 
   [ Use BLOB data (in JPEG format) here ]
 
@@ -789,8 +788,8 @@ background color.</font></td>
     </tr>
     <tr>
       <td style="text-align: center;" rowspan="4">
-      <center><a name="extent"></a> <font size="-1">extent</font></td>
-      <td><font size="-1">const <a href="http://www.imagemagick.org/Magick++/Geometry.html"> Geometry</a> &amp;geometry_</font></td>
+      <center><a name="extent"></a> <font size="-1">extent</font></center></td>
+      <td><font size="-1">const <a href="https://www.imagemagick.org/Magick++/Geometry.html"> Geometry</a> &amp;geometry_</font></td>
       <td rowspan="2"><font size="-1">extends the image as defined by the geometry, gravity, and image background color.</font></td>
     </tr>
     <tr>
