mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-27 18:48:13 +00:00
optional newline character for html
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -24,7 +24,7 @@ class QRStringOptions{
|
||||
|
||||
public $textLight = ' ';
|
||||
|
||||
public $textNewline = PHP_EOL;
|
||||
public $eol = PHP_EOL;
|
||||
|
||||
public $htmlRowTag = 'p';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user