Explorar o código

:octocat: HTML: +css class

codemasher %!s(int64=6) %!d(string=hai) anos
pai
achega
e45213dfb0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Output/QRMarkup.php

+ 1 - 1
src/Output/QRMarkup.php

@@ -59,7 +59,7 @@ class QRMarkup extends QROutputAbstract{
 		$html = '';
 
 		foreach($this->matrix->matrix() as $row){
-			$html .= '<div>';
+			$html .= '<div class="'.$this->options->cssClass.'">';
 
 			foreach($row as $M_TYPE){
 				$html .= '<span style="background: '.$this->moduleValues[$M_TYPE].';"></span>';