Re: blank containing phrases not correctly rendered as superscripts
Posted by
mojavelinux on
Oct 28, 2018; 10:58pm
URL: https://discuss.asciidoctor.org/blank-containing-phrases-not-correctly-rendered-as-superscripts-tp5763p6559.html
Yes, that's true. Superscript and subscript are intentionally restrictive to avoid unintended replacements.
If you want to include a space in a superscript or subscript text, you need to use the space attribute as follows:
text^1,{sp}2^
That convinces the processor that the phrase is contiguous.
Cheers,
-Dan
On Fri, Jul 28, 2017 at 5:24 AM jvdh [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
it seems that superscripts (and subscripts) right now are only working for words but not for (blank containing) phrases? could this be?
text^1,2^
works fine but
text^1, 2^
(containing a blank after the comma) renders just verbatim (showing the
carets as part of the formatted output).
I am sure missing something obvious??
seen with Asciidoctor 1.5.6 [http://asciidoctor.org]
Runtime Environment (ruby 2.0.0p648 (2015-12-16 revision 53162)
[universal.x86_64-darwin15]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
thank you
joerg
--