hypothesis / hypothesis/viahtml

Client is not loaded on page with malformed `<head>` tag

Open
#41 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The Hypothesis client does not load when http://sites.fas.harvard.edu/~chaucer/special/litsubs/romances/sg-prt1.htm is proxied through viahtml. It does however load when this page is proxied through legacy Via.

A reduced test case is available here: https://hypothesis-via.s3-us-west-1.amazonaws.com/test-pages/no-head.html. It has the following HTML:

```html
D>

TEST

```

Compare https://viahtml3.hypothes.is/proxy/https://hypothesis-via.s3-us-west-1.amazonaws.com/test-pages/no-head.html against https://via.hypothes.is/https://hypothesis-via.s3-us-west-1.amazonaws.com/test-pages/no-head.html.

Original report: https://hypothes-is.slack.com/archives/C2BLQDKHA/p1607984782401800

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.