Jakub Wilk, as you can see in any hocr output, the <span> is closed, I was sloppy when I copy pasted to the post. I have run the produced hocr output from cuneiform through http://validator.w3.org/check
and it validates just fine.
As for the
<span class='ocr_line'...>Some text<span class='ocr_cinfo'...></span></span>
vs
<span class='ocr_line'...><span class='ocr_cinfo'...>Some text</span></span>
I agree that the latter makes more sense, if you or any other feel this is important to change you are free to change the code and propose a merge?
Jakub Wilk, as you can see in any hocr output, the <span> is closed, I was sloppy when I copy pasted to the post. I have run the produced hocr output from cuneiform through validator. w3.org/ check
http://
and it validates just fine.
As for the ocr_line' ...>Some text<span class=' ocr_cinfo' ...></span> </span> ocr_line' ...><span class=' ocr_cinfo' ...>Some text</span></span>
<span class='
vs
<span class='
I agree that the latter makes more sense, if you or any other feel this is important to change you are free to change the code and propose a merge?