|
Revision 16378, 1.1 kB
(checked in by patrickh, 4 years ago)
|
Switch from using (e)links to html2text to generate plain text from HTML
input. I am not happy with the output from more recent versions of elinks
(those installed with Fedora Core 1 and newer). html2text is at least
somewhat configurable, and it is (obviously) more specialized in its
purpose.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
/* these are the defaults uses in '-style pretty' mode */ |
|---|
| 3 |
|
|---|
| 4 |
OL.TYPE = 1 |
|---|
| 5 |
OL.vspace.before = 1 |
|---|
| 6 |
OL.vspace.after = 1 |
|---|
| 7 |
OL.indents = 5 |
|---|
| 8 |
UL.vspace.before = 1 |
|---|
| 9 |
UL.vspace.after = 1 |
|---|
| 10 |
UL.indents = 2 |
|---|
| 11 |
DL.vspace.before = 1 |
|---|
| 12 |
DL.vspace.after = 1 |
|---|
| 13 |
DT.vspace.before = 1 |
|---|
| 14 |
DIR.vspace.before = 1 |
|---|
| 15 |
DIR.indents = 2 |
|---|
| 16 |
MENU.vspace.before = 1 |
|---|
| 17 |
MENU.vspace.after = 1 |
|---|
| 18 |
DT.indent = 2 |
|---|
| 19 |
DD.indent = 6 |
|---|
| 20 |
HR.marker = - |
|---|
| 21 |
H1.prefix = |
|---|
| 22 |
H2.prefix = |
|---|
| 23 |
H3.prefix = |
|---|
| 24 |
H4.prefix = |
|---|
| 25 |
H5.prefix = |
|---|
| 26 |
H6.prefix = |
|---|
| 27 |
H1.suffix = |
|---|
| 28 |
H2.suffix = |
|---|
| 29 |
H3.suffix = |
|---|
| 30 |
H4.suffix = |
|---|
| 31 |
H5.suffix = |
|---|
| 32 |
H6.suffix = |
|---|
| 33 |
H1.vspace.before = 2 |
|---|
| 34 |
H2.vspace.before = 1 |
|---|
| 35 |
H3.vspace.before = 1 |
|---|
| 36 |
H4.vspace.before = 1 |
|---|
| 37 |
H5.vspace.before = 1 |
|---|
| 38 |
H6.vspace.before = 1 |
|---|
| 39 |
H1.vspace.after = 1 |
|---|
| 40 |
H2.vspace.after = 1 |
|---|
| 41 |
H3.vspace.after = 1 |
|---|
| 42 |
H4.vspace.after = 1 |
|---|
| 43 |
H5.vspace.after = 1 |
|---|
| 44 |
H6.vspace.after = 1 |
|---|
| 45 |
TABLE.vspace.before = 1 |
|---|
| 46 |
TABLE.vspace.after = 1 |
|---|
| 47 |
CODE.vspace.before = 0 |
|---|
| 48 |
CODE.vspace.after = 0 |
|---|
| 49 |
BLOCKQUOTE.vspace.before = 1 |
|---|
| 50 |
BLOCKQUOTE.vspace.after = 1 |
|---|
| 51 |
P.vspace.before = 0 |
|---|
| 52 |
P.vspace.after = 1 |
|---|
| 53 |
P.indent.left = 1 |
|---|
| 54 |
PRE.vspace.before = 1 |
|---|
| 55 |
PRE.vspace.after = 1 |
|---|
| 56 |
PRE.indent.left = 2 |
|---|
| 57 |
IMG.replace.noalt = |
|---|
| 58 |
IMG.alt.prefix = \ |
|---|
| 59 |
IMG.alt.suffix = \ |
|---|
| 60 |
A.attributes.internal_link = NONE |
|---|
| 61 |
A.attributes.external_link = NONE |
|---|