On Thu, 2 Mar 2023, Jakub Jelinek wrote:
> +<pre><code>
> +#include <stdlib.h>

Oops, in HTML we need to spell "<" as "&lt;" and ">" as "&gt; - otherwise
the above would be seen as a tag by the name of stdlib.h. ;-)

I pushed the follow-up patch below.

Gerald


commit 935fcdebfb2fb4dcd89edb51ebed5f1be0fb41e5
Author: Gerald Pfeifer <ger...@pfeifer.com>
Date:   Thu Mar 2 23:58:29 2023 +0100

    gcc-13: Use &lt; and &gt; where necessary

diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html
index f0ccef69..953e1453 100644
--- a/htdocs/gcc-13/porting_to.html
+++ b/htdocs/gcc-13/porting_to.html
@@ -129,7 +129,7 @@ constants and expressions.  E.g. for 
<code>FLT_EVAL_METHOD</code> equal
 to 2 on ia32:
 
 <pre><code>
-#include <stdlib.h>
+#include &lt;stdlib.h&gt;
 void foo (void) { if (1.1f + 3.3f != 1.1L + 3.3L) abort (); }
 void bar (void) { double d = 4.2; if (d == 4.2) abort (); }
 </code></pre>

Reply via email to