[html5] r7682 - [e] (0) Clarify that this is not a convention, just a possible technique for the [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Jan 31 14:47:31 PST 2013


Author: ianh
Date: 2013-01-31 14:47:29 -0800 (Thu, 31 Jan 2013)
New Revision: 7682

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify that this is not a convention, just a possible technique for the author's own use.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18520
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-01-31 22:42:02 UTC (rev 7681)
+++ complete.html	2013-01-31 22:47:29 UTC (rev 7682)
@@ -21352,12 +21352,10 @@
   computer program, or any other string that a computer would
   recognize.</p>
 
-  <p>Although there is no formal way to indicate the language of
-  computer code being marked up, authors who wish to mark
-  <code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that
-  syntax highlighting scripts can use the right rules, may do so by
-  adding a class prefixed with "<code title="">language-</code>" to
-  the element.</p>
+  <p>There is no formal way to indicate the language of computer code being marked up. Authors who
+  wish to mark <code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that syntax highlighting
+  scripts can use the right rules, can use the <code title=attr-class><a href=#classes>class</a></code> attribute, e.g.
+  by adding a class prefixed with "<code title="">language-</code>" to the element.</p>
 
   <div class=example>
 
@@ -104021,6 +104019,7 @@
   Atsushi Takayama,
   Aurelien Levy,
   Ave Wrigley,
+  Axel Dahmen,
   Ben Boyle,
   Ben Godfrey,
   Ben Lerner,

Modified: index
===================================================================
--- index	2013-01-31 22:42:02 UTC (rev 7681)
+++ index	2013-01-31 22:47:29 UTC (rev 7682)
@@ -21352,12 +21352,10 @@
   computer program, or any other string that a computer would
   recognize.</p>
 
-  <p>Although there is no formal way to indicate the language of
-  computer code being marked up, authors who wish to mark
-  <code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that
-  syntax highlighting scripts can use the right rules, may do so by
-  adding a class prefixed with "<code title="">language-</code>" to
-  the element.</p>
+  <p>There is no formal way to indicate the language of computer code being marked up. Authors who
+  wish to mark <code><a href=#the-code-element>code</a></code> elements with the language used, e.g. so that syntax highlighting
+  scripts can use the right rules, can use the <code title=attr-class><a href=#classes>class</a></code> attribute, e.g.
+  by adding a class prefixed with "<code title="">language-</code>" to the element.</p>
 
   <div class=example>
 
@@ -104021,6 +104019,7 @@
   Atsushi Takayama,
   Aurelien Levy,
   Ave Wrigley,
+  Axel Dahmen,
   Ben Boyle,
   Ben Godfrey,
   Ben Lerner,

Modified: source
===================================================================
--- source	2013-01-31 22:42:02 UTC (rev 7681)
+++ source	2013-01-31 22:47:29 UTC (rev 7682)
@@ -22589,12 +22589,10 @@
   computer program, or any other string that a computer would
   recognize.</p>
 
-  <p>Although there is no formal way to indicate the language of
-  computer code being marked up, authors who wish to mark
-  <code>code</code> elements with the language used, e.g. so that
-  syntax highlighting scripts can use the right rules, may do so by
-  adding a class prefixed with "<code title="">language-</code>" to
-  the element.</p>
+  <p>There is no formal way to indicate the language of computer code being marked up. Authors who
+  wish to mark <code>code</code> elements with the language used, e.g. so that syntax highlighting
+  scripts can use the right rules, can use the <code title="attr-class">class</code> attribute, e.g.
+  by adding a class prefixed with "<code title="">language-</code>" to the element.</p>
 
   <div class="example">
 
@@ -121804,6 +121802,7 @@
   Atsushi Takayama,
   Aurelien Levy,
   Ave Wrigley,
+  Axel Dahmen,
   Ben Boyle,
   Ben Godfrey,
   Ben Lerner,




More information about the Commit-Watchers mailing list