On 6 July 2011 23:04, Lionel Orry <[email protected]> wrote:
> Well, it seems I found the problem: the <object> tag cannot be auto-closing.
> So we should replace
>
> <object data="{imagesdir=}{imagesdir?/}{target}" type="image/svg+xml" />

Thats a perfectly valid empty element, and to quote the XML spec
"Empty-element tags may be used for any element which has no content"

>
> by
>
> <object data="{imagesdir=}{imagesdir?/}{target}"
> type="image/svg+xml"></object>

But I suppose to make erroneous browsers work this is ok. (After all
there is a long history of adjusting HTML so that dumb browsers work,
hi IE :-)

>
> or even better:
>
> <object data="{imagesdir=}{imagesdir?/}{target}" type="image/svg+xml">
>   <span class="comment"><strong>ERROR</strong>: SVG file '{target}' cannot
> be rendered</span>
> </object>

Or even better have an attribute for user supplied alternate text.

>
> Stuart, could you add a similar fix in graphviz-filter.conf ?
>
> Thanks a lot,
> Lionel
>

Now if you will excuse me I have to go back to watching some minor
bicycle race in some rather pretty country.

Cheers
Lex

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to