- From: Shane McCarron via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 26 Jul 2010 16:44:39 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js In directory hutz:/tmp/cvs-serv31260 Modified Files: respec.js Log Message: Added 'hr' to the list of elements that need to be in short form in XHTML. Index: respec.js =================================================================== RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v retrieving revision 1.132 retrieving revision 1.133 diff -u -d -r1.132 -r1.133 --- respec.js 10 Jul 2010 15:34:32 -0000 1.132 +++ respec.js 26 Jul 2010 16:44:37 -0000 1.133 @@ -370,7 +370,7 @@ // walk the entire DOM tree grabbing nodes and emitting them - possibly modifying them // if they need the funny closing tag var pRef = this ; - var closers = [ "br", "img", "input", "area", "base", "basefont", "col", "isindex", "link", "meta", "param"] ; + var closers = [ "br", "img", "input", "area", "base", "basefont", "col", "isindex", "link", "meta", "param", "hr"] ; var dumpNode = function(node) { var out = '' ; // if the node is the document node.. process the children @@ -668,6 +668,13 @@ rp = " typeof='foaf:Person'"; rwu = " rel='foaf:workplaceHomepage'"; rpu = " rel='foaf:homepage'"; + } else if (name == 'Author' ) { + re = " rel='dcterms:contributor'"; + rn = " property='foaf:name'"; + rm = " rel='foaf:mbox'"; + rp = " typeof='foaf:Person'"; + rwu = " rel='foaf:workplaceHomepage'"; + rpu = " rel='foaf:homepage'"; } }
Received on Monday, 26 July 2010 16:44:41 UTC