]> git.pld-linux.org Git - packages/docbook-utils.git/blame - docbook-utils-debian.patch
- don't obsolete docbook2X (not full replacement, packages no longer conflict)
[packages/docbook-utils.git] / docbook-utils-debian.patch
CommitLineData
faa9b810
AM
1--- docbook-utils-0.6.14.orig/helpers/docbook2man-spec.pl
2+++ docbook-utils-0.6.14/helpers/docbook2man-spec.pl
3@@ -1199,8 +1199,8 @@
4 $_[0] =~ s/\\/\\\\/g;
5
6 # Escape dots and single quotes in column 1
7- $_[0] =~ s/^\./\\\&\./;
8- $_[0] =~ s/^\'/\\\&\'/;
9+ $_[0] =~ s/^[ \t]*\./\\\&\./;
10+ $_[0] =~ s/^[ \t]*\'/\\\&\'/;
11
12 # In non-'pre'-type elements:
13 if(!$nocollapse_whitespace) {
14--- docbook-utils-0.6.14.orig/helpers/docbook2texi-spec.pl
15+++ docbook-utils-0.6.14/helpers/docbook2texi-spec.pl
16@@ -774,7 +774,7 @@
17 ## Print the URL
18 sgml('<ULINK>', sub {
19 if($skip_inline++) { return; } # hopefully doesn't happen
20- output '@uref{', output $_[0]->attribute('URL'), ', '
21+ output '@uref{', $_[0]->attribute('URL')->value, ', '
22 });
23 sgml('</ULINK>', sub {
24 output '}' unless --$skip_inline;
25@@ -807,6 +807,7 @@
26 sgml('|[lt ]|', "<");
27 sgml('|[gt ]|', ">");
28 sgml('|[amp ]|', "&");
29+sgml('|[ndash ]|', "-");
30
31 #
32 # Default handlers (uncomment these if needed). Right now, these are set
33
This page took 0.076835 seconds and 4 git commands to generate.