Modified Markdown generator

This commit is contained in:
Michiel Sikma
2014-08-16 01:03:18 +02:00
parent f3401677ce
commit 541e78dce7

View File

@@ -93,11 +93,13 @@ class IconOverview extends IconTplFactory
$img_file = $icon['file'];
}
$icon_str = vsprintf('<img src="%s%s" alt="%s" title="%s" />', array(
$icon_str = vsprintf('<img src="%s%s" alt="%s" title="%s" width="%d" height="%d" />', array(
$github_base_dir,
$this->remove_dot_base($img_file),
htmlspecialchars($name_str),
$this->remove_dot_base($img_file),
$icon['w'],
$icon['h'],
));
$class_str = vsprintf('**`%s`**', array(implode(' ', $classes)));