when text contained markup data, unprocessed string was being printed before all the markup had been processed. This caused a repetition bug.
post 965f7edd163a caused panic with null values for metadata height and width