diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-27 08:20:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-27 08:20:15 +0000 |
commit | 40047433f03f7588fe976e7c30c82cc1430840b7 (patch) | |
tree | 202374dfd892d8b8888714619194a48c0e3a0e37 /term.c | |
parent | 6abca7249ad0cbaff51be269f4d24ae7a7ba0abd (diff) | |
download | mandoc-40047433f03f7588fe976e7c30c82cc1430840b7.tar.gz |
More character-encoding.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -25,7 +25,7 @@ #include "term.h" -#define INDENT 4 +#define INDENT 6 /* * Performs actions on nodes of the abstract syntax tree. Both pre- and @@ -279,7 +279,6 @@ arg_width(const struct mdoc_arg *arg) { size_t len, i, v; - /* TODO */ assert(*arg->value); if (0 == strcmp(*arg->value, "indent")) return(INDENT); @@ -1330,7 +1329,7 @@ termp_bq_pre(DECL_ARGS) if (MDOC_BODY != node->type) return(1); - word(p, "["); + word(p, "\\["); p->flags |= TERMP_NOSPACE; return(1); } @@ -1354,7 +1353,7 @@ termp_pq_pre(DECL_ARGS) if (MDOC_BODY != node->type) return(1); - word(p, "("); + word(p, "\\&("); p->flags |= TERMP_NOSPACE; return(1); } |