protected function onShortcode($content, $code, \Drone\HTML &$html) { $content = Func::wpShortcodeContent($content); if ($this->so('author')) { $content .= ' <cite>' . $this->so('author') . '</cite>'; } $html = HTML::blockquote()->class('align' . $this->so('align'))->add($content); if ($this->so('bar')) { $html->addClass('bar'); } if ($this->so('width')) { $html->style = 'width: ' . $this->so('width') . 'px;'; } }