@@ -40,8 +40,8 @@ |
||
40 | 40 | |
41 | 41 | // @todo |
42 | 42 | return '<div data-id="'.$id.'" class="expander code-header '.$this->tag.'">'.($desc ? ' - <span>'.$desc.'</span>' : '').'</div>' |
43 | - .'<pre id="'.$id.'" class="code-body" style="display:'.($this->getAttribute('hide') ? 'none' : 'block').';">' |
|
44 | - .'<code class="language-'.$this->tag.'">'.$this->content.'</code></pre>'; // sanitize |
|
43 | + .'<pre id="'.$id.'" class="code-body" style="display:'.($this->getAttribute('hide') ? 'none' : 'block').';">' |
|
44 | + .'<code class="language-'.$this->tag.'">'.$this->content.'</code></pre>'; // sanitize |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | } |
@@ -137,7 +137,7 @@ |
||
137 | 137 | $style = []; |
138 | 138 | |
139 | 139 | switch(true){ |
140 | - case $align && in_array($align, ['left', 'center', 'right', 'justify', 'start', 'end', 'inherit',]): |
|
140 | + case $align && in_array($align, ['left', 'center', 'right', 'justify', 'start', 'end', 'inherit', ]): |
|
141 | 141 | $style['text-align'] = $align; |
142 | 142 | break; |
143 | 143 | case $valign && in_array($valign, ['baseline', 'bottom', 'middle', 'top']): |