sul-dlss / SearchWorks

SearchWorks (Stanford University Libraries)
http://searchworks.stanford.edu
Other
48 stars 10 forks source link

HTML full text not working on some records #1704

Open drh-stanford opened 7 years ago

drh-stanford commented 7 years ago

For example, this record:

https://searchworks.stanford.edu/articles/edsgao__edsgcl.151592087

shows HTML tags in the HTML fulltext view:

screen shot 2017-09-06 at 2 53 41 pm

i looked at the EDS data they're sending us for that record and it's escaped HTML which is why it's showing up like that.

The native UI works ok:

https://stanford.idm.oclc.org/login?url=http://search.ebscohost.com/login.aspx?direct=true&db=edsgao&AN=edsgcl.151592087&site=eds-live

drh-stanford commented 7 years ago

Debugged this a little, and we're doing something different for research starters vs. article full text. Discussed with @bmckinney and we'd like to return valid HTML rather than escaped HTML for both research starters and article full text.

drh-stanford commented 7 years ago

@bmckinney this record (edsgao__edsgcl.151592087) seems to be broken with the 0.3.15.pre release. All I'm getting back is

"eds_html_fulltext": "\n  <h1>Video Reviews</h1>\n  <p>\n    \n  </p>",
jvine commented 6 years ago

Another example: https://searchworks.stanford.edu/articles/eric__EJ739770