]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
basicdoclet: Fix broken id-attribute in content headline
authorFlorian Brosch <flo.brosch@gmail.com>
Wed, 28 Oct 2009 00:02:21 +0000 (01:02 +0100)
committerFlorian Brosch <flo.brosch@gmail.com>
Wed, 28 Oct 2009 00:02:21 +0000 (01:02 +0100)
src/libvaladoc/html/basicdoclet.vala

index 1ff5ada04704040fd6e1de4662ec73a89767b87f..81486fdd14b19b837c24c399fbda4a826b4c8e5e 100755 (executable)
@@ -562,7 +562,7 @@ public abstract class Valadoc.Html.BasicDoclet : Api.Visitor, Doclet {
 
        protected void write_package_content (Package node, Api.Node? parent, WikiPage? wikipage = null) {
                writer.start_tag ("div", {"class", css_style_content});
-               writer.start_tag ("h1", {"class", css_title, node.name}).text (node.name).end_tag ("h1");
+               writer.start_tag ("h1", {"class", css_title, "id", node.name}).text (node.name).end_tag ("h1");
                writer.simple_tag ("hr", {"class", css_headline_hr});
                writer.start_tag ("h2", {"class", css_title}).text ("Description:").end_tag ("h2");