Commit 1cfa0973 authored by Alejandro Celaya's avatar Alejandro Celaya Committed by Alejandro Celaya

Add document title as part of annotations export HTML title

parent 83ca0305
......@@ -171,7 +171,7 @@ export class AnnotationsExporter {
return renderToString(
<html lang="en">
<head>
<title>Annotations export - Hypothesis</title>
<title>{`Annotations on "${title}"`}</title>
<meta charSet="UTF-8" />
</head>
<body>
......
......@@ -302,7 +302,9 @@ ${formattedNow},http://example.com,My group,Annotation,,John Doe,Annotation text
removeAllIndentation(result),
removeAllIndentation(`<html lang="en">
<head>
<title>Annotations export - Hypothesis</title>
<title>
Annotations on &quot;A special document&quot;
</title>
<meta charset="UTF-8" />
</head>
<body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment