From: Reini U. <ru...@x-...> - 2010-09-21 14:18:34
|
2010/9/21 Marc-Etienne Vargenau <Mar...@al...>: > Le 21/09/2010 09:08, ru...@us... a écrit : >> Revision: 7704 >> http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7704&view=rev >> Author: rurban >> Date: 2010-09-21 07:08:56 +0000 (Tue, 21 Sep 2010) >> >> Log Message: >> ----------- >> revert 7551-7553. we use named anchors to jump to, not internal ids >> >> Modified Paths: >> -------------- >> trunk/lib/plugin/CreateToc.php >> >> Modified: trunk/lib/plugin/CreateToc.php > > Hello Reini, > > I do not really agree with this one. > Both ids and names can be used for anchors, and name is > deprecated for <a>. It no longer exists in XHTML 1.1 and HTML 5. hmm, so if we are in quirks mode we should use name to be able to jump to #anchor, and if strict xhtml (ENABLE_XHTML_XML) we should use id, right? -- Reini Urban |