pywb
pywb copied to clipboard
HTML metadata.yaml is escaped
Describe the bug
Hi
I upgraded from pywb 2.5.0 to the latest 2.6.7.
Since the upgrade my metadata does not display properly in the interface.
I have entries in my metadata.yaml files that create links, and they used to be displayed as links and were clickable.
Now, after the upgrade the links are displayed as text.
When looking at the page source I can see that the code is encoded. Instead of <a href="blah"> it now shows <a href="blah">
Steps to reproduce the bug
In the metadata.yaml file enter something like:
details: 'This site is being replaced by a new site: <a href="https://mysite.test.com/test">https://mysite.test.com/test</a>.'
Expected behavior
I expect to see clikcable links like this:

But I see this:

Environment
- OS: RedHat Enterprise Linux Server release 7.9 (Maipo)
- Browser Firefox, Chrome, Edge
- Version not applicable
Additional context
Hi,
Thank you for addressing this issue, however there is still an issue with the HTML rewrite.
On the home page the first URL is clickable, but the one in the comment is displayed as HTML.
I expect to see:

But instead it shows:

Thanks for looking into this.