restructuring PageTextMarkupReceiver