output: Fix XML parsing in output_get_text_from_markup().