Example usage for org.apache.commons.text StringEscapeUtils escapeHtml3

List of usage examples for org.apache.commons.text StringEscapeUtils escapeHtml3

Introduction

In this page you can find the example usage for org.apache.commons.text StringEscapeUtils escapeHtml3.

Prototype

public static final String escapeHtml3(final String input) 

Source Link

Document

Escapes the characters in a String using HTML entities.

Supports only the HTML 3.0 entities.

Usage

From source file:de.micromata.genome.gwiki.utils.WebUtils.java

public static String escapeHtml(String value) {
    //    return BASIC_XML_ESCAPE.translate(value);
    return StringEscapeUtils.escapeHtml3(value);
}