[gtk-doc] mkdb: actually commit the right file
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] mkdb: actually commit the right file
- Date: Tue, 13 Jul 2010 15:45:21 +0000 (UTC)
commit 604afb04bf6b450d1949f3f300bdc933f7f5fee8
Author: Stefan Kost <ensonic users sf net>
Date: Tue Jul 13 18:44:38 2010 +0300
mkdb: actually commit the right file
gtkdoc-mkdb.in | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 56925b8..1b98ef4 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -4349,10 +4349,11 @@ sub MergeSourceDocumentation {
# If there is a blank line, finish the paragraph and start another.
$src_doc = &ConvertBlankLines ($src_doc, $symbol);
$src_doc_para = "<para>\n$src_doc\n</para>";
- # fixup xml markup
- $src_doc_para =~ s%<para>\n(<refsect[1-9])%$1%gms;
- $src_doc_para =~ s%<para>\n<para>%<para>%gms;
- $src_doc_para =~ s%(</refsect[1-9]>)\n</para>%$1%gms;
+ ## fixup xml markup
+ # FIXME: this is questionable, as we can't make assumtions on the content really
+ #$src_doc_para =~ s%^<para>\n(<refsect[1-9])%$1%gms;
+ #$src_doc_para =~ s%^<para>\n<para>%<para>%gms;
+ #$src_doc_para =~ s%(</refsect[1-9]>)\n</para>$%$1%gms;
#print "$symbol : [$src_doc][$src_doc_para]\n";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]