Bug #9351

Custom linking is escaped in Scope and content snippet displayed in description results stubs

Added by Dan Gillean over 4 years ago. Updated about 4 years ago.

Status:VerifiedStart date:01/25/2016
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:Usability
Target version:Release 2.3.0
Google Code Legacy ID: Tested version:2.2, 2.3
Sponsored:No Requires documentation:

Description

  • Create a new description
  • Add a link to the scope and content field, using the custom linking syntax described in issue #8410
  • Save
  • Navigate to Browse > Archival descriptions and find your new record in the results stubs
Resulting error
  • Link in scope and content is displayed in raw/escaped form
Expeccted result
  • Link displays as expected in results stub

results-stub.png - Example of link escaped in the results stub (5.81 KB) Dan Gillean, 01/25/2016 12:30 PM


Related issues

Related to Access to Memory (AtoM) - Feature #8410: Allow users to add hyperlinks in descriptive fields Verified 05/07/2015

History

#1 Updated by Dan Gillean over 4 years ago

  • Assignee deleted (Dan Gillean)

#2 Updated by Dan Gillean over 4 years ago

See attached screenshot.

#3 Updated by Dan Gillean over 4 years ago

  • Related to Feature #8410: Allow users to add hyperlinks in descriptive fields added

#4 Updated by Nick Wilkinson about 4 years ago

  • Assignee set to José Raddaoui Marín

#5 Updated by Mike Cantelon about 4 years ago

After trying to find code to do HTML truncation (I could find anything that seems solid for PHP), I made my own, but it'd a bit hack-y so I don't trust it not to have undiscovered edge cases: https://gist.github.com/anonymous/9a6523ae39cf44ca717ee945d96709f0

#6 Updated by Mike Cantelon about 4 years ago

  • Status changed from New to Code Review
  • Assignee changed from José Raddaoui Marín to Nick Wilkinson

#7 Updated by Jesús García Crespo about 4 years ago

  • Status changed from Code Review to QA/Review
  • Assignee changed from Nick Wilkinson to Dan Gillean

#8 Updated by Dan Gillean about 4 years ago

  • Status changed from QA/Review to Verified
  • Target version set to Release 2.3.0

Nice!

Also available in: Atom PDF