diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2009-06-07 16:52:36 +1200 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2009-06-07 16:52:36 +1200 |
commit | e6af5db2110ee9b22d514372232c28cfbf2a5c08 (patch) | |
tree | 8411c0bf58383ab420a1446608433e67b7aa2449 /html4.conf | |
parent | 4345b24c7360a1ce41912c8947d054dd66a6b315 (diff) | |
download | asciidoc-e6af5db2110ee9b22d514372232c28cfbf2a5c08.tar.gz |
Reinstated 'alt' image attribute as AsciiDoc image macro first positional attribute.
Diffstat (limited to 'html4.conf')
-rw-r--r-- | html4.conf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,14 +37,14 @@ template::[pi-blockmacro] [image-inlinemacro]
<a href="{link}">
-<img style="border-width: 0;" src="{imagesdir=}{imagesdir?/}{target}" alt="{target}"{width? width="{width}"}{height? height="{height}"}>
+<img style="border-width: 0;" src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
{link#}</a>
[image-blockmacro]
<div>
<a name="{id}"></a>
<a href="{link}">
-<img style="border-width: 0;" src="{imagesdir=}{imagesdir?/}{target}" alt="{target}"{width? width="{width}"}{height? height="{height}"}>
+<img style="border-width: 0;" src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
{link#}</a>
<p><b>{caption={figure_caption}}{title}</b></p>
</div>
|