blob: b4da72d5c7013ec21c4f8beb135d3924e910437d [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=windows-1252" http-equiv="content-type">
<title>Papyrus</title>
<link rel="stylesheet" type="text/css" href="userguide.css">
</head>
<body>
<h2>HTML</h2>
<ul>
<li><strong>isHtml(String) : Boolean</strong></li>
</ul>
<p>&nbsp;Return if the given string contains HTML tags.</p>
<ul>
<li><strong>stripHtmlTags(String) : String&nbsp;</strong>
</li>
</ul>
<p>Return a string without html tags.</p>
<ul>
<li><strong>htmlToText(String) : String</strong></li>
</ul>
<p>Return a plain text string for the given html string. This provide simple
indentation and list marks.</p>
<ul>
<li><strong>textToHtml(String) : String</strong></li>
</ul>
<p>&nbsp;Return a html string for the given plain string. It consider list
marks and space and tabs to provide indentation in the HTML string, trying
to keep the simple format of the provided plain text.</p>
<p>
</p>
<p></p>
</body>
</html>