Merged older paper pi with the newer, with some recent updates.
This commit is contained in:
@@ -12,17 +12,10 @@ class HtmlToPos
|
||||
return str_replace(['<br>', '<br/>', '<br />'], "\n", $text);
|
||||
}
|
||||
|
||||
public function convert($html)
|
||||
public function convert($html = '')
|
||||
{
|
||||
|
||||
$posText = $this->handleNewLine($html);
|
||||
|
||||
|
||||
// print_r($posText);
|
||||
|
||||
// die();
|
||||
return $posText;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user