Skip to content

Commit

Permalink
Fix class SaxPageHandler_Hocr
Browse files Browse the repository at this point in the history
This patch fixes an issue in PrimaDla.jar which is used by JPageConverter,
see PRImA-Research-Lab#17.

Reported-by: Sadra Barikbin <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Feb 7, 2024
1 parent 1bdcc57 commit 3868892
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private void handlePageElement(Attributes atts) {
image = part.substring(part.lastIndexOf(File.separator)+1);
// No path
else if (part.contains(" \""))
image = part.substring(part.indexOf(" \"")+1);
image = part.substring(part.indexOf(" \"")+2);

if (image != null) {
//Remove quotation mark
Expand Down

0 comments on commit 3868892

Please sign in to comment.