String text = HTMLEntities.unhtmlentities(htmlText);
String text = unescapeHtml(htmlText);
    private void addText(String htmlText, String indent) {        if (htmlText == null) {            return;        }                String text = HTMLEntities.unhtmlentities(htmlText);        String[] words = text.split("\\p{Space}+");         for (int i = 0; i < words.length; i++) {            String word = words[i];                        if (word.length() == 0) {                continue;            }                        if (pos + word.length() + 1 > getLineLength()) {                buffer.append("\n" + indent);                this.buffer.append(word + " ");                pos = indent.length() + word.length() + 1;            }            else {                this.buffer.append(word + " ");                pos += word.length() + 1;            }        }    }