summaryrefslogtreecommitdiff
path: root/docbook-utils-w3mtxtconvert.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 01:49:41 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 01:49:41 +0000
commit89b0c8aa91110625d4527760aea6625ab6b07c78 (patch)
tree9b8f17c4f7799054a82112fe3c88aba13649c438 /docbook-utils-w3mtxtconvert.patch
parent40968e5e162216782a1a0585c51d5b2c19937cc2 (diff)
automatic import of docbook-utilsopeneuler24.03_LTS
Diffstat (limited to 'docbook-utils-w3mtxtconvert.patch')
-rw-r--r--docbook-utils-w3mtxtconvert.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/docbook-utils-w3mtxtconvert.patch b/docbook-utils-w3mtxtconvert.patch
new file mode 100644
index 0000000..249af8e
--- /dev/null
+++ b/docbook-utils-w3mtxtconvert.patch
@@ -0,0 +1,12 @@
+diff -urNp original/txt new/txt
+--- original/backends/txt 2007-11-05 18:44:52.000000000 +0100
++++ new/backends/txt 2007-11-22 15:21:36.000000000 +0100
+@@ -13,7 +13,7 @@ then
+ elif [ -x /usr/bin/w3m ]
+ then
+ CONVERT=/usr/bin/w3m
+- ARGS="-dump"
++ ARGS="-T text/html -dump"
+ else
+ echo >&2 "No way to convert HTML to text found."
+ exit 1