aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/both_inline_and_comment_create_elements_id__61__feedlink.mdwn
diff options
context:
space:
mode:
authorhttp://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web>2011-01-25 20:53:34 +0000
committerJoey Hess <joey@kitenet.net>2011-01-25 20:53:34 +0000
commitd3065c6477eb3bc32814f0d4d03309413077823d (patch)
treef57a165e020d3a6e07f954c0e7d6ff00e9540f3d /doc/bugs/both_inline_and_comment_create_elements_id__61__feedlink.mdwn
parent12b700485ea27990a53c8863358e06ca735540b8 (diff)
downloadikiwiki-d3065c6477eb3bc32814f0d4d03309413077823d.tar
ikiwiki-d3065c6477eb3bc32814f0d4d03309413077823d.tar.gz
new bug: both inline and comments generate elements with the same id
Diffstat (limited to 'doc/bugs/both_inline_and_comment_create_elements_id__61__feedlink.mdwn')
-rw-r--r--doc/bugs/both_inline_and_comment_create_elements_id__61__feedlink.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/both_inline_and_comment_create_elements_id__61__feedlink.mdwn b/doc/bugs/both_inline_and_comment_create_elements_id__61__feedlink.mdwn
new file mode 100644
index 000000000..f00e4640a
--- /dev/null
+++ b/doc/bugs/both_inline_and_comment_create_elements_id__61__feedlink.mdwn
@@ -0,0 +1,13 @@
+The [[plugins/inline]] and [[plugins/comments]] plugins both generate feed links.
+
+In both cases, the generated markup include an element with `id="feedlink"`.
+
+[XHTML 1.0 Strict](http://www.w3.org/TR/xhtml1/#h-4.10) (Ikiwiki's default output type) forbids multiple elements with the same ID:
+
+> In XML, fragment identifiers are of type ID, and there can only be a single attribute of type ID per element. Therefore, in XHTML 1.0 the id attribute is defined to be of type ID. In order to ensure that XHTML 1.0 documents are well-structured XML documents, XHTML 1.0 documents MUST use the id attribute when defining fragment identifiers on the elements listed above. See the HTML Compatibility Guidelines for information on ensuring such anchors are backward compatible when serving XHTML documents as media type text/html.
+
+As does [W3C's HTML5](http://www.w3.org/TR/html5/elements.html#the-id-attribute).
+
+Any page with both a comments feed and an inline feed will be invalid XHTML 1.0 Strict or HTML 5.
+
+-- [[Jon]]