for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Groundskeeper\Tokens\Elements;
use Groundskeeper\Configuration;
use Groundskeeper\Tokens\Element;
use Groundskeeper\Tokens\ElementTypes\FlowContent;
use Groundskeeper\Tokens\ElementTypes\OpenElement;
use Groundskeeper\Tokens\ElementTypes\SectioningRoot;
use Groundskeeper\Tokens\Token;
use Psr\Log\LoggerInterface;
/**
* "blockquote" element
*
* https://html.spec.whatwg.org/multipage/semantics.html#the-blockquote-element
*/
class Blockquote extends OpenElement implements FlowContent, SectioningRoot
{
protected function getAllowedAttributes()
$blockquoteAllowedAttributes = array(
'/^cite$/i' => Element::ATTR_URI
);
return array_merge(
$blockquoteAllowedAttributes,
parent::getAllowedAttributes()
}