import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.StringUtil;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
<BUG>import net.htmlparser.jericho.Source;
public class HtmlImpl implements Html {</BUG>
public static final int ESCAPE_MODE_ATTRIBUTE = 1;
public static final int ESCAPE_MODE_CSS = 2;
public static final int ESCAPE_MODE_JS = 3;

import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.StringUtil;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.htmlparser.jericho.Source;
import net.htmlparser.jericho.TextExtractor;
public class HtmlImpl implements Html {
public static final int ESCAPE_MODE_ATTRIBUTE = 1;
public static final int ESCAPE_MODE_CSS = 2;
public static final int ESCAPE_MODE_JS = 3;
