aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/layouts_and_rendering.md
diff options
context:
space:
mode:
authorAnton Cherepanov <davetoxa@gmail.com>2014-12-07 22:11:19 +0300
committerAnton Cherepanov <davetoxa@gmail.com>2014-12-07 22:11:19 +0300
commitbb0d6389e58d782b8b4fcec40d933c06be8734f0 (patch)
tree24ec45868002fa42a91a78645295075fb822d141 /guides/source/layouts_and_rendering.md
parentd4fd3a18bd02480dd69d62e700fec8806942f45a (diff)
downloadrails-bb0d6389e58d782b8b4fcec40d933c06be8734f0.tar.gz
rails-bb0d6389e58d782b8b4fcec40d933c06be8734f0.tar.bz2
rails-bb0d6389e58d782b8b4fcec40d933c06be8734f0.zip
[ci skip] Fix output of video_tag helper
Diffstat (limited to 'guides/source/layouts_and_rendering.md')
-rw-r--r--guides/source/layouts_and_rendering.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index ae16ad86cd..28fa61a964 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -904,7 +904,10 @@ You can also specify multiple videos to play by passing an array of videos to th
This will produce:
```erb
-<video><source src="/videos/trailer.ogg" /><source src="/videos/trailer.flv" /></video>
+<video>
+ <source src="/videos/trailer.ogg">
+ <source src="/videos/movie.ogg">
+</video>
```
#### Linking to Audio Files with the `audio_tag`