diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp
index b6567677da..3a157c6f4d 100644
--- a/src/output_xhtml.cpp
+++ b/src/output_xhtml.cpp
@@ -241,7 +241,6 @@ bool XHTMLStream::closeFontTags()
if (tagname == parsep_tag)
break;
writeError(it->tag_);
- }
}
return false;
}