gigaherz / Guidebook

Minecraft book API and library
https://www.curseforge.com/minecraft/mc-mods/guidebook
Other
31 stars 16 forks source link

In-line Links and Line Breaks #87

Open TheFloydman opened 5 years ago

TheFloydman commented 5 years ago
Annotation 2019-07-04 070252
<p space="10">
"Floating Islands" accept both a
<link ref="ch1:pageQuickGuide10">Biome</link>
and a
<link ref="ch1:pageQuickGuide12">Structure Block</link>
and generate high above the world.
</p>

In-line links sometimes do not follow the line-break rules of regular text. The line will sometimes break in the middle of a linked word rather than at spaces. I thought that maybe this was because there was only one word in the link, but making it Biome biome still makes it break inside the first Biome. Pushing Structure Block closer to the edge causes it to break correctly between the words, though. Removing the link from Biome makes it break correctly.

gigaherz commented 5 years ago

Oof. I'll take a look.