Psychoanalytic-Electronic-Publishing / PEP-Web-User-Interface

Single Page App Graphical User Interface for PEP-Web
1 stars 0 forks source link

Webx Links in Figure Titles dropped by User Interface XML -> HTML conversion #678

Closed nrshapiro closed 1 year ago

nrshapiro commented 1 year ago

As exemplified here in what was supposed to be a link to Vimeo, there's a problem in the handling of the XML links in figure titles as reported by @davidtuckett

URL: "https://pep-web.org/search/document/IJP.101.1106A?searchTerms=%5B%7B%22type%22%3A%22author%22%2C%22term%22%3A%22tuckett%2C%20david%22%7D%2C%7B%22type%22%3A%22title%22%2C%22term%22%3A%22training%22%7D%5D"

What is presented to the user:

image

Note the text of the figure title in the HTML in the browser: Video Abstract Read the transcriptWatch the video on Vimeo

Here's the HTML generated by the client

Video Abstract Read the transcriptWatch the video on Vimeo

Here's what was provided by the server in the XML. Note both the transcription and video links are provided there, but dropped in the XML->HTML conversion by the client (as well as the necessary spacing of the parts.)

image
jordanallen-dev commented 1 year ago

Resolved in #738 when #727 was handled