- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 17 Jan 2010 09:04:39 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/md In directory hutz:/tmp/cvs-serv23127 Modified Files: Overview.html Log Message: fix vCard example to have better line-wrapping and say why (whatwg r4602) Index: Overview.html =================================================================== RCS file: /sources/public/html5/md/Overview.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- Overview.html 17 Jan 2010 08:59:15 -0000 1.16 +++ Overview.html 17 Jan 2010 09:04:37 -0000 1.17 @@ -3010,29 +3010,24 @@ </p> <h2>Assorted Contact Methods</h2> <ul> - <li itemprop="tel" itemscope><span itemprop="value">+1 (310) - 597 3781</span> <span itemprop="type">work</span> <meta - itemprop="type" content="pref"></li> - <li><a itemprop="url" - href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on - Wikipedia</a> so you can leave a message on my user talk - page.</li> - <li><a itemprop="url" - href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li> - <li itemprop="email"><a - href="mailto:j.bauer@la.ctu.gov.invalid">j.bauer@la.ctu.gov.invalid</a></li> - <li itemprop="tel" itemscope><span itemprop="value">+1 (310) 555 - 3781</span> <span><meta itemprop="type" content="cell">mobile - phone</span></li> + <li itemprop="tel" itemscope> + <span itemprop="value">+1 (310) 597 3781</span> <span itemprop="type">work</span> + <meta itemprop="type" content="pref"> + </li> + <li><a itemprop="url" href="http://en.wikipedia.org/wiki/Jack_Bauer">I'm on Wikipedia</a> + so you can leave a message on my user talk page.</li> + <li><a itemprop="url" href="http://www.jackbauerfacts.com/">Jack Bauer Facts</a></li> + <li itemprop="email"><a href="mailto:j.bauer@la.ctu.gov.invalid">j.bauer@la.ctu.gov.invalid</a></li> + <li itemprop="tel" itemscope> + <span itemprop="value">+1 (310) 555 3781</span> <span> + <meta itemprop="type" content="cell">mobile phone</span> + </li> </ul> - <p itemprop="note">If I'm out in the field, you may be better off - contacting <span itemprop="agent" itemscope - itemtype="http://microformats.org/profile/hcard"><a + <p itemprop="note">If I'm out in the field, you may be better off contacting <span + itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a itemprop="email" href="mailto:c.obrian@la.ctu.gov.invalid"><span - itemprop="fn">Chloe O'Brian</span></a></span> if it's about - work, or ask <span itemprop="agent">Tony Almeida</span> if - you're interested in the CTU five-a-side football team we're trying - to get going.</p> + itemprop="fn">Chloe O'Brian</span></a></span> if it's about work, or ask <span + itemprop="agent">Tony Almeida</span> if you're interested in the CTU five-a-side football team we're trying to get going.</p> <ins datetime="2008-07-20T21:00:00+0100"> <span itemprop="rev" itemscope> <meta itemprop="type" content="date-time"> @@ -3044,6 +3039,10 @@ </ins> </section></pre> + <p>The odd line wrapping is needed because newlines are meaningful + in microdata: newlines would be preserved in a conversion to, for + example, the vCard format.<p> + </div><div class="example"> <p>This example shows a site's contact details (using the
Received on Sunday, 17 January 2010 09:04:41 UTC