Guidebook

Guidebook

6M Downloads

Space Around In-line URLs

TheFloydman opened this issue ยท 6 comments

commented

When using <link> inside of a <p> element, it adds a space before and after the link. I don't know if this is intended or not, but I would rather it not add spaces. For example, when I add an in-line link, I would like this:

(link)

not this:

( link )

commented

Hmm it's not intended, no. I will try to improve my layout system to prevent that, in future versions.

commented

Hmm just to confirm, does your content look like

<p>Here is (<link ref="1:1">a link</link>)</p>

or

<p>Here is (
<link ref="1:1">a link</link>
)</p>

Edit: I'm asking because in HTML, those look like:
image

commented

Okay then I have to fix that to match HTML better, since it makes more sense that way. :P

commented

In my case it's

<p align="center">{+<link ref="ch1:pageQuickGuide12">strBlock</link>} Obelisks</p>

This looks like

{+ strBlock } Obelisks

commented

Had to tweak quite a few things, but next version will handle whitespace trimming a bit better :P

image

Incidently, the alignment you mentioned in the other ticket seems to have fixed itself too...

image

commented

v2.6.0 is out! Enjoy!