Reputation: 3665
I have an ebook which contains a code like:
Some text (<a id="aref"></a>Some more text) that continues
I need the anchor to refer to this part of the text in the index. However, the tag allows line breaks, so I often end up with a line break right after (
.
Is there a way to prevent these line breaks (putting the anchor before the (
is not an option).
Upvotes: 5
Views: 18738
Reputation: 8065
Make your anchor tag inline using the CSS property display: inline
, for example:
<a style="display: inline;" >
Upvotes: 11
Reputation: 3665
This is definitely a bug in Aldiko. I have reported it and am waiting for them to fix it.
Upvotes: 0
Reputation: 2399
It shouldn't be breaking at all unless you've added css to do so.
Try:
display: inline;
clear: none;
Upvotes: 0