Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3cf938

Browse files
authored
Merge pull request #23030 from QuLogic/fix-meta
2 parents 19d4061 + 7a397e3 commit c3cf938

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/sphinxext/redirect_from.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
This creates in the build directory a file ``build/html/topic/old-page.html``
1616
that contains a relative refresh::
1717
18-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
1918
<html>
2019
<head>
20+
<meta charset="utf-8">
2121
<meta http-equiv="refresh" content="0; url=new-page.html">
2222
</head>
2323
</html>
@@ -40,9 +40,9 @@
4040

4141

4242
HTML_TEMPLATE = """\
43-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4443
<html>
4544
<head>
45+
<meta charset="utf-8">
4646
<meta http-equiv="refresh" content="0; url={v}">
4747
</head>
4848
</html>

0 commit comments

Comments
 (0)