ZaneDubya/UltimaXNA

Very long htmlgumps are causing infinite loop

denizsokmen opened this issue · 3 comments

IN HtmlDocument.cs, line 444. It gets stuck forever because for some reason it's always trying to break the words and the following "i--;" line causes the for loop to work infinitely.

Can you post the text of the gump that is causing this issue?

This also happens at private void HtmlElement.LayoutElements_BreakWordAtLineEnd(List elements, int start, int lineWidth, List word, int wordWidth, int styleWidth)

Fixed - I think - in the new book gump pr.