Forum Bugs

Prince 7.0b1 enters into an apparently endless loop

I've found some files that take too long to convert to be reasonable. From one of them (the Project Gutenberg edition of The Brothers Karamazov), I could create this test file:

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns="" xml:lang="en">
<style type="text/css">
body {
  margin: 4ex 10%;
  text-align: justify;
span {
  position: absolute;
  left: 1%;

<p>The old man fairly fluttered with joy, as though nothing more comforting
could have been said to him. In his delight he seized <span>[pg 154]</span>
Alyosha's hand and pressed it warmly to his heart. Tears positively glittered in
his eyes.</p>


If I remove almost anything in the CSS styles, it converts instantly, but as it is, it remains some minutes at 100% CPU load until I kill the process.
Thanks, that's a great test document for a bug we're currently looking at, and will hopefully fix soon. For now, disabling justification solves the problem.
This bug has been fixed in Prince 7.0, out now. Thanks for the help in tracking it down! :)