Page titles of HTML downloads are unnecessarily truncated and sanitized

Description

When you download the HTML version of a work, you expect the page title to be roughly the same as the default page title when you view the work in your browser.

Current behavior

For example, the work titled "🥳" by "sarks (sarken)" in the "Testing" fandom has the following page title in the browser:

🥳 - sarks (sarken) - Testing [Archive of Our Own]

But the HTML download's page title is:

Work 1068484 - sarks - Testing

Desired behavior

The HTML download page title should be:

🥳 - sarks (sarken) - Testing

Notes

A coder may be interested in this comment on GitHub.

Environment

None

Status

Assignee

Unassigned

Reporter

Sarken

Roadmap

Export

Priority

Low

Affects versions

0.9.252

Fix versions

None

Components

BackEnd

Difficulty

Easy

Required Access Level

None

Milestone

Internal 0.9