Skip to content

Commit 83f1aa3

Browse files
author
edendramis
committed
fixing the rest of the incorrect smart quotes
1 parent 96dca79 commit 83f1aa3

File tree

14 files changed

+28
-28
lines changed

14 files changed

+28
-28
lines changed

builtins/amp-ad.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### <a name=amp-ad></a> `amp-ad`
1+
### <a name="amp-ad"></a> `amp-ad`
22

33
NOTE: The specification of `amp-ad` is likely to significantly evolve over time. The current approach is designed to bootstrap the format to be able to show ads.
44

builtins/amp-pixel.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-pixel></a> `amp-pixel`
17+
### <a name="amp-pixel"></a> `amp-pixel`
1818

1919
The `amp-pixel` element is meant to be used as a typical tracking pixel - to count page views.
2020

@@ -104,4 +104,4 @@ may make a request to something like `https://foo.com/pixel?host=example.com`.
104104

105105
#### Styling
106106

107-
`amp-pixel` should not be styled.
107+
`amp-pixel` should not be styled.

docs/include_features.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ The `amp-anim` component can also have an optional placeholder child
9696
to display while the `src` file is loading.
9797
The placeholder is specified via the `placeholder` attribute:
9898
```html
99-
<amp-anim width=400 height=300 src=my-gif.gif>
100-
<amp-img placeholder width=400 height=300 src=my-gif-screencap.jpg>
99+
<amp-anim width=400 height=300 src="my-gif.gif">
100+
<amp-img placeholder width=400 height=300 src="my-gif-screencap.jpg">
101101
</amp-img>
102102
</amp-anim>
103103
```
@@ -163,8 +163,8 @@ at a time determined by the AMP HTML runtime.
163163
Include a placeholder before the video starts, and a fallback,
164164
if the browser doesn't support HTML5 video, for example:
165165
```html
166-
<amp-video width=400 height=300 src=https://yourhost.com/videos/myvideo.mp4>
167-
<amp-img placeholder width=400 height=300 src=myvideo-poster.jpg></amp-img>
166+
<amp-video width=400 height=300 src="https://yourhost.com/videos/myvideo.mp4">
167+
<amp-img placeholder width=400 height=300 src="myvideo-poster.jpg"></amp-img>
168168
<div fallback>
169169
<p>Your browser doesn’t support HTML5 video</p>
170170
</div>
@@ -199,7 +199,7 @@ Include an audio resource in your page,
199199
using the [`amp-audio`](../extensions/amp-audio/amp-audio.md) element.
200200

201201
You must include the following script in the `<head>`:
202-
202+
203203
```html
204204
<script async custom-element="amp-audio" src="https://cdn.ampproject.org/v0/amp-audio-0.1.js"></script>
205205
```
@@ -212,7 +212,7 @@ at a time determined by the AMP HTML runtime.
212212
Include a placeholder before the audio starts, and a fallback,
213213
if the browser doesn't support HTML5 audio, for example:
214214
```html
215-
<amp-audio width=400 height=300 src=https://yourhost.com/audios/myaudio.mp3>
215+
<amp-audio width=400 height=300 src="https://yourhost.com/audios/myaudio.mp3">
216216
<div fallback>
217217
<p>Your browser doesn’t support HTML5 audio</p>
218218
</div>
@@ -231,7 +231,7 @@ to when the tracking pixel is loaded.
231231
Use the special string `$RANDOM` to add a random number
232232
to the URL if required.
233233

234-
For example, `<amp-pixel src=https://cdn.ampproject.org/$RANDOM>`
234+
For example, `<amp-pixel src="https://cdn.ampproject.org/$RANDOM">`
235235
makes a request to something like `https://cdn.ampproject.org/8390278471201`,
236236
where the $RANDOM value is randomly generated upon each impression.
237237

@@ -283,4 +283,4 @@ to be shown if no ad is available:
283283
data-aax_src="302">
284284
<div placeholder>Have a great day!</div>
285285
</amp-ad>
286-
```
286+
```

extensions/amp-anim/amp-anim.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ The `amp-anim` component is very similar to the `amp-image` element, and provide
2424

2525
The `amp-anim` component can also have an optional placeholder child, to display while the `src` file is loading. The placeholder is specified via the `placeholder` attribute:
2626
```html
27-
<amp-anim width=400 height=300 src=my-gif.gif>
28-
<amp-img placeholder width=400 height=300 src=my-gif-screencap.jpg>
27+
<amp-anim width=400 height=300 src="my-gif.gif">
28+
<amp-img placeholder width=400 height=300 src="my-gif-screencap.jpg">
2929
</amp-img>
3030
</amp-anim>
3131
```
@@ -47,7 +47,7 @@ A string of alternate text, similar to the `alt` attribute on `img`.
4747

4848
**attribution**
4949

50-
A string that indicates the attribution of the image. E.g. `attribution=CC courtesy of Cats on Flicker`
50+
A string that indicates the attribution of the image. E.g. `attribution="CC courtesy of Cats on Flicker"`
5151

5252

5353
#### Styling
@@ -58,4 +58,4 @@ placeholder for example could be achieved via:
5858
amp-anim {
5959
background-color: grey;
6060
}
61-
```
61+
```

extensions/amp-carousel/amp-carousel.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-carousel></a> `amp-carousel`
17+
### <a name="amp-carousel"></a> `amp-carousel`
1818

1919
A generic carousel for displaying multiple similar pieces of content along a horizontal axis. It is meant to be highly flexible and performant.
2020

@@ -27,9 +27,9 @@ The carousel consists of an arbitrary number of items, as well as optional navig
2727
The carousel advances between items if the user swipes, uses arrow keys, clicks an optional navigation arrow.
2828
```html
2929
<amp-carousel width=300 height=400>
30-
<amp-img src=my-img1.png width=300 height=400></amp-img>
31-
<amp-img src=my-img2.png width=300 height=400></amp-img>
32-
<amp-img src=my-img3.png width=300 height=400></amp-img>
30+
<amp-img src="my-img1.png" width=300 height=400></amp-img>
31+
<amp-img src="my-img2.png" width=300 height=400></amp-img>
32+
<amp-img src="my-img3.png" width=300 height=400></amp-img>
3333
</amp-carousel>
3434
```
3535

extensions/amp-fit-text/amp-fit-text.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-fit-text></a> `amp-fit-text`
17+
### <a name="amp-fit-text"></a> `amp-fit-text`
1818

1919
The `amp-fit-text` component can expand or shrink its font size to fit the
2020
content within the space given to it.

extensions/amp-iframe/amp-iframe.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-iframe></a> `amp-iframe`
17+
### <a name="amp-iframe"></a> `amp-iframe`
1818

1919
Displays an iframe.
2020

extensions/amp-image-lightbox/amp-image-lightbox.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-image-lightbox></a> `amp-image-lightbox`
17+
### <a name="amp-image-lightbox"></a> `amp-image-lightbox`
1818

1919
The `amp-image-lightbox` component allows for a “image lightbox” or similar
2020
experience - where upon user interaction an image expands to fill the

extensions/amp-instagram/amp-instagram.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-instagram></a> `amp-instagram`
17+
### <a name="amp-instagram"></a> `amp-instagram`
1818

1919
Displays an instagram embed.
2020

extensions/amp-slides/amp-slides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-slides></a> `amp-slides`
17+
### <a name="amp-slides"></a> `amp-slides`
1818

1919
WARNING: amp-slides is deprecated please see [`amp-carousel`](../amp-carousel/amp-carousel.md)
2020
with `type=slides` attributes instead.

extensions/amp-twitter/amp-twitter.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-twitter></a> `amp-twitter`
17+
### <a name="amp-twitter"></a> `amp-twitter`
1818

1919
Displays a Twitter Tweet.
2020

extensions/amp-youtube/amp-youtube.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
1616

17-
### <a name=amp-youtube></a> `amp-youtube`
17+
### <a name="amp-youtube"></a> `amp-youtube`
1818

1919
Displays a Youtube video.
2020

spec/amp-html-components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The height of the component. `width` and `height` attributes imply the aspect ra
125125

126126
**layout**
127127

128-
Defines the way the container is laid out. `layout=responsive` will let the container scale with the width of the parent container. `layout=nodisplay` indicates that the component should not be initially displayed by the runtime - for example, for an image that will appear in a lightbox when a trigger is tapped.
128+
Defines the way the container is laid out. `layout="responsive"` will let the container scale with the width of the parent container. `layout="nodisplay"` indicates that the component should not be initially displayed by the runtime - for example, for an image that will appear in a lightbox when a trigger is tapped.
129129

130130

131131

spec/amp-html-format.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ https://cdn.ampproject.org/$RUNTIME_VERSION/$ELEMENT_NAME-$ELEMENT_VERSION.js
341341
Extended components are versioned via [semver](http://semver.org/). The version is referenced explicitly (See $ELEMENT_VERSION above) when loading the component in the URL. It may have the value “latest”.
342342
Changes to the PATCH version component (x in 1.1.x) must strictly maintain backward compatibility or fix urgent security issues.
343343

344-
AMP documents may only reference versions with one or two components. Version 1” states “I accept every version of this component with major version 1”. Version “1.1” states “I accept every PATCH level of 1.1”. It is now allowed to explicitly reference the PATCH level in the version string.
344+
AMP documents may only reference versions with one or two components. Version 1” states “I accept every version of this component with major version 1”. Version “1.1” states “I accept every PATCH level of 1.1”. It is now allowed to explicitly reference the PATCH level in the version string.
345345

346346
## Security
347347

0 commit comments

Comments
 (0)