Skip to content
Snippets Groups Projects
Commit 70f71b5d authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added parameter "keep_ws" to <br> and <ex_br>.

Rev: tutorial/manpages:1.20
parent d69a6e6d
No related branches found
No related tags found
No related merge requests found
// -*- Pike -*- // -*- Pike -*-
// $Id: manpages,v 1.19 1998/07/28 09:16:59 neotron Exp $ // $Id: manpages,v 1.20 1999/04/17 15:55:36 grubba Exp $
#include "types.h" #include "types.h"
...@@ -102,7 +102,11 @@ string make_manpage(string base, SGML data, string ind, string fbase) ...@@ -102,7 +102,11 @@ string make_manpage(string base, SGML data, string ind, string fbase)
case "br": case "br":
case "ex_br": case "ex_br":
res+="\n.br\n"; res+="\n.br\n";
if (tag->params->keep_ws) {
stripws = 0;
} else {
stripws=1; stripws=1;
}
break; break;
case "ex_indent": case "ex_indent":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment