Skip to content
Snippets Groups Projects
Commit 56b01935 authored by Kevin Hill's avatar Kevin Hill Committed by GitHub
Browse files

Merge pull request #180 from twify93/patch-1

Bugfix height string overwritten by width string
parents 5b571560 d62c70e6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -55,7 +55,7 @@ class HtmlFactory
if (array_key_exists('width', $dimensions)) {
$widthType = self::dimensionTypeCheck($dimensions['width']);
$widthUnit = ($widthType === 'integer') ? 'px' : '';
$heightStr = sprintf("width:%s%s;", $dimensions['width'], $widthUnit);
$widthStr = sprintf("width:%s%s;", $dimensions['width'], $widthUnit);
}
 
return sprintf(
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment