diff options
author | Jason A. Donenfeld | 2015-10-12 16:47:47 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2015-10-12 16:47:47 +0200 |
commit | c301899112b2a0559e0f65e3b371a907e9e5c097 (patch) | |
tree | 9ce6cc660d33403aa5a4e9223cd0ca3a2e2da2ea /filters | |
parent | md2html: use pure python (diff) | |
download | cgit-c301899112b2a0559e0f65e3b371a907e9e5c097.tar.gz cgit-c301899112b2a0559e0f65e3b371a907e9e5c097.zip |
filters: misc cleanups
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'filters')
-rwxr-xr-x | filters/html-converters/man2html | 1 | ||||
-rwxr-xr-x | filters/html-converters/rst2html | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/filters/html-converters/man2html b/filters/html-converters/man2html index 1b28437..0ef7884 100755 --- a/filters/html-converters/man2html +++ b/filters/html-converters/man2html | |||
@@ -2,4 +2,3 @@ | |||
2 | echo "<div style=\"font-family: monospace\">" | 2 | echo "<div style=\"font-family: monospace\">" |
3 | groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)' | 3 | groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)' |
4 | echo "</div>" | 4 | echo "</div>" |
5 | |||
diff --git a/filters/html-converters/rst2html b/filters/html-converters/rst2html index 756a4e1..02d90f8 100755 --- a/filters/html-converters/rst2html +++ b/filters/html-converters/rst2html | |||
@@ -1,2 +1,2 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | rst2html.py --template <(echo -e "%(stylesheet)s\n%(body_pre_docinfo)s\n%(docinfo)s\n%(body)s") | 2 | exec rst2html.py --template <(echo -e "%(stylesheet)s\n%(body_pre_docinfo)s\n%(docinfo)s\n%(body)s") |