Skip to content

Commit 18ad0b9

Browse files
authored
Update explainer.md use explicit closing tag in examples
1 parent 67f0f0f commit 18ad0b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

explainer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Example usage:
276276
<permission
277277
onpromptdismiss="showContextInfo()"
278278
type="microphone"
279-
/>
279+
></permission>
280280

281281
<script>
282282
function showContextInfo() {
@@ -368,7 +368,7 @@ styleable via CSS like any regular button. For example:
368368
border-radius: 10px;
369369
}
370370
</style>
371-
<permission type="geolocation" />
371+
<permission type="geolocation"></permission>
372372
```
373373

374374
<img src="images/image9.png">
@@ -401,7 +401,7 @@ Example usage:
401401
color: blue;
402402
}
403403
</style>
404-
<permission type="geolocation" />
404+
<permission type="geolocation"></permission>
405405
```
406406

407407
<img src="images/image10.png"> \
@@ -484,7 +484,7 @@ cancelable.
484484
Example usage:
485485

486486
```html
487-
<permission type="geolocation" onpromptdismiss="showLocationWarning()" />
487+
<permission type="geolocation" onpromptdismiss="showLocationWarning()"></permission>
488488
<script>
489489
// Called when the PEPC-triggered permission flow has been canceled by the user
490490
// without a decision being made.

0 commit comments

Comments
 (0)