We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text like rtfa:0134 is showing up as a clickable link when it shouldn't be in the UV metadata pane.
rtfa:0134
rfta:0134
The regex needs to be updated. https://github.com/scientist-softserv/iiif_print/blob/main/lib/iiif_print/metadata.rb#L99-L115
Consider:
MAKE_LINK_REGEX = %r{ \b ( (?: (?:https?|ftp):// [-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|] ) | (?: www\d{0,3}\. [-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|] ) | (?: [A-Z0-9.-]+\.[A-Z]{2,}\b ) ) }ix.freeze
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Text like
rtfa:0134
is showing up as a clickable link when it shouldn't be in the UV metadata pane.Acceptance Criteria
rfta:0134
should not be a linkScreenshots or Video
Testing Instructions
rtfa:0134
and save itrtfa:0134
is not a linkNotes
The regex needs to be updated.
https://github.com/scientist-softserv/iiif_print/blob/main/lib/iiif_print/metadata.rb#L99-L115
Consider:
The text was updated successfully, but these errors were encountered: