optional newline character for html

This commit is contained in:
smiley
2016-03-21 12:33:21 +01:00
parent c6688ba8b8
commit 3b2d83bf60
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ class QRString extends QROutputAbstract{
: $this->options->textLight;
}
$str .= $this->options->textNewline;
$str .= $this->options->eol;
}
return $str;
@@ -97,7 +97,7 @@ class QRString extends QROutputAbstract{
$html .= '</'.$this->options->htmlRowTag.'>';
}
$html .= PHP_EOL;
$html .= $this->options->eol;
}
return $html;
+1 -1
View File
@@ -24,7 +24,7 @@ class QRStringOptions{
public $textLight = ' ';
public $textNewline = PHP_EOL;
public $eol = PHP_EOL;
public $htmlRowTag = 'p';