summaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/html.c b/html.c
index 31372b99..b218ad17 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.96 2010/02/17 19:48:33 kristaps Exp $ */
+/* $Id: html.c,v 1.97 2010/04/03 12:46:35 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -507,8 +507,6 @@ print_text(struct html *h, const char *p)
case(')'):
/* FALLTHROUGH */
case(']'):
- /* FALLTHROUGH */
- case('}'):
if ( ! (HTML_IGNDELIM & h->flags))
h->flags |= HTML_NOSPACE;
break;
@@ -525,11 +523,11 @@ print_text(struct html *h, const char *p)
if (*p && 0 == *(p + 1))
switch (*p) {
+ case('|'):
+ /* FALLTHROUGH */
case('('):
/* FALLTHROUGH */
case('['):
- /* FALLTHROUGH */
- case('{'):
h->flags |= HTML_NOSPACE;
break;
default: