Adding support for configurable text-factory and placeholder comments for arabic text support.