Skip to content

Commit 86a18aa

Browse files
author
vvo
committed
fix(doc): add doctype were missing
no doctype = quirks mode
1 parent 8bb531a commit 86a18aa

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

docs/_layouts/default.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<meta charset="utf-8">
@@ -39,4 +39,4 @@
3939
{% endif %}
4040
</body>
4141

42-
</html>
42+
</html>

docs/documentation.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ Once all the widgets have been added to the instantsearch instance, just start t
189189
<div class="code-box">
190190
<div class="code-sample-snippet ignore">
191191
{% highlight html %}
192+
<!doctype html>
192193
<html>
193194
<head>
194195
<link rel="stylesheet" href="//cdn.jsdelivr.net/instantsearch.js/0/themes/default.min.css" />
@@ -956,4 +957,4 @@ Example
956957
</div>
957958
</div>
958959

959-
If you want to style the **search-box** widget, you can do:
960+
If you want to style the **search-box** widget, you can do:

docs/examples/airbnb/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!doctype html>
12
<html>
23
<head>
34
<meta charset="UTF-8">

docs/examples/youtube/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!doctype html>
12
<html>
23
<head>
34
<meta charset="UTF-8">

0 commit comments

Comments
 (0)