public Wrapper<? extends Content> createWrapper(Text text) {
if (isSingleNewLine(text)) {
return ThrowAwayContentWrapper.INSTANCE;
} else if (isBlankLineOrLines(text)) {
return new UnsortedWrapper<Content>(new NewlineText());
}
return new UnsortedWrapper<Text>(text);
}