Hello,
I've recently propose a new major version of Bootstrap backend for AsciiDoc.
And I've improved the link inline macro. See
http://laurent-laville.org/asciidoc/bootstrap/manual/current/en/macros.html
for details.
I've tested the compatiblity with other AsciiDoc backend, and I found a bad
behavior.
I'll take an example to explain :
In my asciidoc document, I've added
Visit our
link:../../../examples/index.html["expo",role="info",icon="{icon-prefix}tint",options="right,white"]
to learn ...
That give me a cool link button when I build it with bootstrap backend, but
when I build it with standard xhtml11 backend, I got
Visit our "expo",role="info",icon="tint",options="right,white" to learn ...
Reason is in the configuration file xhtml11.conf
[link-inlinemacro]
<a href="{target}">{0={target}}</a>
Where we get all line content with the {0}
I suggest to change it by
<a href="{target}">{1={target}}</a>
To take only the first element, that should be the caption.
What do you think of this proposal ?
Laurent
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.