Skip to content

Commit 3b8d9b8

Browse files
committed
Consistently use smart quotes, apart from in code and error messages
1 parent 6a1be4d commit 3b8d9b8

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

_includes/faq-link.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<a href="/faq#{{ include.faq }}">{% for doc in site.faq %}{% if doc.path contains include.faq %}{{
2-
doc.question
2+
doc.question | smartify
33
}}{% endif %}{% endfor %}</a>

error-messages.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ <h1>CORS Error Messages</h1>
2626
</blockquote>
2727

2828
<p>
29-
The exact form of the message will depend on the request you're attempting.
29+
The exact form of the message will depend on the request youre attempting.
3030
</p>
3131

3232
<p>
3333
Requests initiated using <code>fetch</code> will start <code>Access to fetch</code> instead of
3434
<code>Access to XMLHttpRequest</code>. The URL <code>http://localhost:3000/api</code> will be the URL of the
3535
cross-origin resource you tried to access. The origin, <code>http://localhost:8080</code>, will be the origin of the
36-
current page. Usually that'll be the first part of the URL in your browser's address bar.
36+
current page. Usually thatll be the first part of the URL in your browsers address bar.
3737
</p>
3838

3939
<p>
40-
If the request you're attempting uses HTTP redirects then you may get a longer version of this opening line:
40+
If the request youre attempting uses HTTP redirects then you may get a longer version of this opening line:
4141
</p>
4242

4343
<blockquote class="error">
@@ -48,7 +48,7 @@ <h1>CORS Error Messages</h1>
4848
<p>
4949
When using redirects, all the requests must successfully pass the CORS checks. The error message indicates the initial
5050
URL as well as the URL that failed. The initial request, and any intermediate redirects, must have passed the CORS
51-
checks or the final request wouldn't have even been attempted.
51+
checks or the final request wouldnt have even been attempted.
5252
</p>
5353

5454
<p>

faq.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>CORS FAQ</h1>
1515
{% for file in collection.order %}
1616
{% for doc in collection.docs %}
1717
{% if doc.path contains file %}
18-
<li><a href="/faq#{{ doc.path | replace: "_faq/", "" | replace: ".md", "" }}">{{ doc.question }}</a></li>
18+
<li><a href="/faq#{{ doc.path | replace: "_faq/", "" | replace: ".md", "" }}">{{ doc.question | smartify }}</a></li>
1919
{% endif %}
2020
{% endfor %}
2121
{% endfor %}
@@ -32,7 +32,7 @@ <h1>CORS FAQ</h1>
3232
{% if doc.path contains file %}
3333
<section id="{{ doc.path | replace: "_faq/", "" | replace: ".md", "" }}" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
3434
<h3>
35-
<a href="/faq#{{ doc.path | replace: "_faq/", "" | replace: ".md", "" }}"><span itemprop="name">{{ doc.question }}</span></a>
35+
<a href="/faq#{{ doc.path | replace: "_faq/", "" | replace: ".md", "" }}"><span itemprop="name">{{ doc.question | smartify }}</span></a>
3636
</h3>
3737
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
3838
<div class="answer-body" itemprop="text">{{ doc.content }}</div>

header-checker.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>CORS Header Checker</h1>
1111
</p>
1212
<p>
1313
It is recommended that you use either <strong>Chrome</strong> or <strong>Firefox</strong> to copy the headers, even
14-
if you're only having problems in other browsers.
14+
if youre only having problems in other browsers.
1515
</p>
1616
<p>
1717
You can suggest improvements or report bugs via
@@ -23,7 +23,7 @@ <h1>CORS Header Checker</h1>
2323
<div class="rh-col-wrap">
2424
<h4>Request headers:</h4>
2525
<p>
26-
Find the request in the <strong>Network</strong> section of your browser's developer tools. Right-click on the
26+
Find the request in the <strong>Network</strong> section of your browsers developer tools. Right-click on the
2727
request and copy the <strong>Request</strong> headers. Paste them into the box below.
2828
</p>
2929
<p>
@@ -71,7 +71,7 @@ <h4>Response headers:</h4>
7171
<div class="rh-col-wrap">
7272
<h4>withCredentials / credentials = "include":</h4>
7373
<p>
74-
If you're setting the <code>withCredentials</code> flag on the request then check the box below. If you aren't
74+
If youre setting the <code>withCredentials</code> flag on the request then check the box below. If you arent
7575
sure, leave it unchecked.
7676
</p>
7777
<div>
@@ -82,7 +82,7 @@ <h4>withCredentials / credentials = "include":</h4>
8282
</div>
8383
<hr>
8484
<p>
85-
Once you've completed all three steps you can view the analysis in the next section.
85+
Once youve completed all three steps you can view the analysis in the next section.
8686
</p>
8787
</section>
8888
<section id="report">

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ <h1>
1616
<ol>
1717
<li>Learn how CORS works.</li>
1818
<li>Check the browser console for errors.</li>
19-
<li>Inspect the request and response headers in the <em>Network</em> tab of your browser's developer tools.</li>
20-
<li>Go back to step 1. That step's really important.</li>
19+
<li>Inspect the request and response headers in the <em>Network</em> tab of your browsers developer tools.</li>
20+
<li>Go back to step 1. That steps really important.</li>
2121
</ol>
2222
</section>
2323

@@ -40,7 +40,7 @@ <h2>On this site</h2>
4040
<h2>Around the web</h2>
4141
<p>
4242
Some of these resources may not reflect exactly what is implemented in the latest browsers but the core principles
43-
haven't changed much since CORS was first introduced.
43+
havent changed much since CORS was first introduced.
4444
</p>
4545
<ul>
4646
<li>

0 commit comments

Comments
 (0)