mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
eaadd40c3b
commit
cf50aa71b5
@ -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 site’s images and css files.
|
||||
|
||||
It renders in the template as `<base href="http://www.yoursite.com" /><!--[if lte IE 6]></base><![endif]-->`
|
||||
|
Loading…
x
Reference in New Issue
Block a user