issue #1 reset form resets selected icon to empty

This commit is contained in:
kplaczek
2018-04-04 19:44:11 +02:00
commit 20c8d2f763
197 changed files with 49256 additions and 0 deletions

21
app/Paper/HtmlToPos.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
namespace App\Paper;
class HtmlToPos
{
private function handleNewLine($text)
{
return str_replace(['<br>', '<br/>', '<br />'], "\n", $text);
}
public function convert($html = '')
{
$posText = $this->handleNewLine($html);
return $posText;
}
}