diff --git a/ocropus-hocr b/ocropus-hocr
index 3bf38443..3f9aa3f4 100755
--- a/ocropus-hocr
+++ b/ocropus-hocr
@@ -249,7 +249,7 @@ for arg in args.files:
PN(""%info,word,"")
+ PN(" class='ocr_line' title='%s'>"%info,text,"")
if not args.nobreaks: P("
")
else: P()