diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-10 10:52:11 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-10 10:52:11 -0800 |
commit | 4d4a3f72892ee50207e50e447a03f61e5c267867 (patch) | |
tree | fe88eabc8be7648cdb9f10709393417bd7335b33 /spec.txt | |
parent | 65af8da7a80a9fb062cacf1ef7e21b0c91cfde53 (diff) |
Allow images to contain images.
Diffstat (limited to 'spec.txt')
-rw-r--r-- | spec.txt | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5889,8 +5889,8 @@ difference. Instead of [link text](#link-text), we have an [image description](@image-description). The rules for this are the same as for [link text](#link-text), except that (a) an image description starts with `![` rather than `[`, and -(b) an image description may contain links, but not images -(even deeply nested). An image description has inline elements +(b) an image description may contain links. +An image description has inline elements as its contents. When an image is rendered to HTML, this is standardly used as the image's `alt` attribute. @@ -5911,7 +5911,7 @@ this is standardly used as the image's `alt` attribute. . ![foo ![bar](/url)](/url2) . -<p>![foo <img src="/url" alt="bar" />](/url2)</p> +<p><img src="/url2" alt="foo bar" /></p> . . |