summaryrefslogtreecommitdiff
path: root/src/devices/grohtml/post-html.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grohtml/post-html.cc')
-rw-r--r--src/devices/grohtml/post-html.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/grohtml/post-html.cc b/src/devices/grohtml/post-html.cc
index 0c36941a..7e1a9bf0 100644
--- a/src/devices/grohtml/post-html.cc
+++ b/src/devices/grohtml/post-html.cc
@@ -439,11 +439,14 @@ int text_glob::is_auto_img (void)
/*
* is_br - returns TRUE if the glob is a tag containing a .br
+ * or an implied .br
*/
int text_glob::is_br (void)
{
- return( is_a_tag() && (strcmp("html-tag:.br", text_string) == 0) );
+ return( is_a_tag() && ((strcmp("html-tag:.br", text_string) == 0) ||
+ (strcmp("html-tag:.ce", text_string) == 0) ||
+ (strcmp("html-tag:.nf", text_string) == 0)) );
}
/*