Fixed implementation of MarkupTextRepository, created a new constant-size implementation.