Fix possible loss of output due to backtracking limit, which can occur in html formatter
Fix possible loss of output due to backtracking limit, which can occur in html formatter

markwatkinson/luminous,markwatkinson/luminous,markwatkinson/luminous