Closed Bug 259049 Opened 21 years ago Closed 21 years ago

incorrect example on markup examples page

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justdave, Unassigned)

References

()

Details

The text listing of the HTML for the "good code" example has different HTML than the one actually used in the example. (and says "bad code" where it's actually using "good code") Index: mozilla-org/html/contribute/writing/markup.html =================================================================== RCS file: /cvsroot/mozilla-org/html/contribute/writing/markup.html,v retrieving revision 1.3 diff -u -r1.3 markup.html --- mozilla-org/html/contribute/writing/markup.html 2 Aug 2004 09:01:11 -0000 1.3 +++ mozilla-org/html/contribute/writing/markup.html 13 Sep 2004 04:02:19 -0000 @@ -405,7 +405,7 @@ <!-- --><em>&lt;/pre&gt;</em> <!-- --><em>&lt;p&gt;</em>The code below will generate the exact same C++ signature, <!-- -->but is more script-friendly.<em>&lt;/p&gt;</em> -<!-- --><em>&lt;pre class="bad code"&gt;</em> +<!-- --><em>&lt;pre class="good code"&gt;</em> <!-- -->interface nsIFoo : nsISupports { <!-- --> attribute long length; <!-- --> readonly attribute long color;
Fix checked in. Thanks. :)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.