mirror of
https://github.com/discourse/discourse.git
synced 2024-12-10 00:13:52 +08:00
fc1ce96dbb
for allowing classes and attributes for only certain tag names.
22 lines
675 B
HTML
Executable File
22 lines
675 B
HTML
Executable File
<p><img src="/path/to/img.jpg" alt="Alt text" /></p>
|
|
|
|
<p><img src="/path/to/img.jpg" alt="Alt text" title="Optional title" /></p>
|
|
|
|
<p>Inline within a paragraph: <a href="/url/">alt text</a>.</p>
|
|
|
|
<p><img src="/url/" alt="alt text" title="title preceded by two spaces" /></p>
|
|
|
|
<p><img src="/url/" alt="alt text" title="title has spaces afterward" /></p>
|
|
|
|
<p><img src="/url/" alt="alt text" /></p>
|
|
|
|
<p><img src="/url/" alt="alt text" title="with a title" />.</p>
|
|
|
|
<p><img alt="Empty" /></p>
|
|
|
|
<p><img src="http://example.com/(parens).jpg" alt="this is a stupid URL" /></p>
|
|
|
|
<p><img src="/url/" alt="alt text" /></p>
|
|
|
|
<p><img src="/url/" alt="alt text" title="Title here" /></p>
|