convert labels with html content into pages