Skip to content

Commit

Permalink
add new screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
rptr committed Apr 11, 2019
1 parent 56d5dfb commit bdb95ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion html2text.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ html_to_text (const char *html, char **ascii, unsigned *length)
close(fd[0]);
dup2(fd[1], 1);

if ((err = execl("html2text-1.3.2a/html2text", "html2text", "-ascii", "-nobs", "temp2", NULL)) != -1)
if ((err = execl("html2text-1.3.2a/html2text", "html2text",
"-ascii", "-nobs",
"-style", "pretty",
"temp2", NULL)) != -1)
{
} else
{
Expand All @@ -102,6 +105,7 @@ html_to_text (const char *html, char **ascii, unsigned *length)
close(fd[1]);

int readn;
// TODO no.
int size = 1000000;
int total_size = 0;
char buf[size];
Expand Down
Binary file modified screen_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
int line_spacing = 0;
int padding_x = 4;
int padding_y = 1;
int verbose = 1;
int verbose = 0;

int load_settings ()
{
Expand Down

0 comments on commit bdb95ed

Please sign in to comment.