Skip to content

Conversation

@holtskinner
Copy link
Member

Special characters need to be escaped in order to utilize the output from the HOCR conversion in other tools. The j2 spec also suggests to escape characters (see HTML escaping at https://jinja.palletsprojects.com/en/3.0.x/templates/)

Fixes #213 🦕

Issue googleapis#213
Special characters need to be escaped in order to utilize the output from the HOCR conversion in other tools. The j2 spec also suggests to escape characters (see HTML escaping at https://jinja.palletsprojects.com/en/3.0.x/templates/)
@holtskinner holtskinner requested review from a team as code owners January 24, 2024 18:07
@google-cla
Copy link

google-cla bot commented Jan 24, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Jan 24, 2024
@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Jan 24, 2024

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@holtskinner
Copy link
Member Author

@ThreeHAN Please pull in the latest changes from the main branch and fill out the Google CLA https://cla.developers.google.com/

Also add unit tests for this edge case.

@holtskinner
Copy link
Member Author

Closing due to inactivity. Replaced by #279 due to customer issue b/329048716

auto-merge was automatically disabled March 11, 2024 14:53

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

conversion to HOCR does not convert HTML special characters, it leaves them plain text

2 participants