DOC: fix missing closing backtick for code display, add required alt attribute

Otherwise the code is output as html, and displays as a missing image. The alt attribute is required for image tags, whereas self closing is no longer required for html5.
This commit is contained in:
Ed Wilde 2021-02-11 12:18:36 +13:00 committed by GitHub
parent eaadd40c3b
commit cf50aa71b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ functionality may not be included.
```
The `<% base_tag %>` placeholder is replaced with the HTML base element. Relative links within a document (such as `<img
src="someimage.jpg" />) will become relative to the URI specified in the base tag. This ensures the browser knows where
src="someimage.jpg" alt="">`) will become relative to the URI specified in the base tag. This ensures the browser knows where
to locate your sites images and css files.
It renders in the template as `<base href="http://www.yoursite.com" /><!--[if lte IE 6]></base><![endif]-->`