[gtk-doc] mkdb: turn link targets into valid sgml ids, so that links actualy work
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-doc] mkdb: turn link targets into valid sgml ids, so that links actualy work
- Date: Fri, 27 Nov 2009 16:31:32 +0000 (UTC)
commit 36d333c4428a5a029dfdcade10677b5218551a0b
Author: Stefan Kost <ensonic users sf net>
Date: Fri Nov 27 18:31:45 2009 +0200
mkdb: turn link targets into valid sgml ids, so that links actualy work
Thsi fixes links to struct members that contains '_'.
gtkdoc-mkdb.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 88ad8f9..ee2abfe 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -1441,7 +1441,7 @@ sub OutputStruct {
my @fields = ParseStructDeclaration($declaration, !$default_to_public,
0, \&MakeXRef,
sub {
- "<structfield id=\"$id.$_[0]\">$_[0]</structfield>";
+ "<structfield id=\"".&CreateValidSGMLID("$id.$_[0]")."\">$_[0]</structfield>";
});
my $params = $SymbolParams{$symbol};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]