Browse Source

Add --no-headers option

Florent Gallaire 7 years ago
parent
commit
ebfe045c3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      txt2tags_reader/txt2tags_reader.py

+ 1 - 1
txt2tags_reader/txt2tags_reader.py

@@ -21,7 +21,7 @@ class Txt2tagsReader(BaseReader):
                 content = "\n".join(text[i:])
                 break
 
-        t2t_cmd = [r"txt2tags", r"--encoding=utf-8", r"--target=html", r"--infile=-", r"--outfile=-"]
+        t2t_cmd = [r"txt2tags", r"--encoding=utf-8", r"--target=html", r"--infile=-", r"--outfile=-", r"--no-headers"]
 
         proc = subprocess.Popen(t2t_cmd,
                                 stdin = subprocess.PIPE,