Skip to content

Commit 88b31c0

Browse files
Update <img> tag to self-closing format (#2156)
Update the <img> tag in REAMDME.md to a self-closing format (with a forward slash before the closing angle bracket) to ensure compatibility with JSX and stricter HTML versions, addressing potential confusion and enhancing code clarity. Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com>
1 parent b30daf1 commit 88b31c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Add the following CSS rules in your stylesheet:
162162
<h4>You can also use the <code>img</code> tag and reference an SVG directly from the repository:</h4>
163163

164164
```html
165-
<img src='https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/devicon/devicon-original.svg'>
165+
<img src='https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/devicon/devicon-original.svg' />
166166
```
167167

168168
<h2 id="request-icon">Requesting an icon</h2>

0 commit comments

Comments
 (0)