summaryrefslogtreecommitdiff
path: root/html4.conf
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2009-06-07 16:52:36 +1200
committerStuart Rackham <srackham@methods.co.nz>2009-06-07 16:52:36 +1200
commite6af5db2110ee9b22d514372232c28cfbf2a5c08 (patch)
tree8411c0bf58383ab420a1446608433e67b7aa2449 /html4.conf
parent4345b24c7360a1ce41912c8947d054dd66a6b315 (diff)
downloadasciidoc-e6af5db2110ee9b22d514372232c28cfbf2a5c08.tar.gz
Reinstated 'alt' image attribute as AsciiDoc image macro first positional attribute.
Diffstat (limited to 'html4.conf')
-rw-r--r--html4.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/html4.conf b/html4.conf
index 64e5aaa..7a616de 100644
--- a/html4.conf
+++ b/html4.conf
@@ -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>