From 8f8e04fd39724d13a8de3439d72e3da30b54d2ce Mon Sep 17 00:00:00 2001 From: Colin O'Dell Date: Sun, 19 Jul 2015 09:58:27 -0400 Subject: [PATCH 1/2] Fix code style A huge thanks to Graham Campbell for StyleCI and its automated patch feature! --- src/Block/Element/AbstractBlock.php | 3 +- src/Block/Element/BlockQuote.php | 2 +- src/Block/Element/FencedCode.php | 10 +- src/Block/Element/Header.php | 2 +- src/Block/Element/IndentedCode.php | 3 +- src/Block/Element/ListItem.php | 2 +- src/Block/Element/Paragraph.php | 2 +- src/Block/Parser/ATXHeaderParser.php | 2 +- src/Block/Parser/BlockParserInterface.php | 2 +- src/Block/Parser/BlockQuoteParser.php | 2 +- src/Block/Parser/FencedCodeParser.php | 2 +- src/Block/Parser/HorizontalRuleParser.php | 2 +- src/Block/Parser/HtmlBlockParser.php | 2 +- src/Block/Parser/IndentedCodeParser.php | 2 +- src/Block/Parser/LazyParagraphParser.php | 2 +- src/Block/Parser/ListParser.php | 4 +- src/Block/Parser/SetExtHeaderParser.php | 2 +- src/Block/Renderer/BlockQuoteRenderer.php | 4 +- src/Block/Renderer/BlockRendererInterface.php | 4 +- src/Block/Renderer/DocumentRenderer.php | 4 +- src/Block/Renderer/FencedCodeRenderer.php | 4 +- src/Block/Renderer/HeaderRenderer.php | 4 +- src/Block/Renderer/HorizontalRuleRenderer.php | 4 +- src/Block/Renderer/HtmlBlockRenderer.php | 4 +- src/Block/Renderer/IndentedCodeRenderer.php | 4 +- src/Block/Renderer/ListBlockRenderer.php | 8 +- src/Block/Renderer/ListItemRenderer.php | 4 +- src/Block/Renderer/ParagraphRenderer.php | 4 +- src/Converter.php | 2 +- src/Cursor.php | 21 +- src/CursorState.php | 12 +- src/Delimiter/Delimiter.php | 20 +- src/Delimiter/DelimiterStack.php | 6 +- src/DocParser.php | 5 +- src/ElementRendererInterface.php | 4 +- src/Environment.php | 16 +- src/Extension/CommonMarkCoreExtension.php | 2 +- src/Extension/MiscExtension.php | 4 +- src/HtmlElement.php | 8 +- src/HtmlRenderer.php | 12 +- src/Inline/Element/AbstractInline.php | 2 +- .../Element/AbstractStringContainer.php | 2 +- src/Inline/Element/Image.php | 4 +- src/Inline/Element/Link.php | 4 +- src/Inline/Parser/AbstractInlineParser.php | 3 +- src/Inline/Parser/AutolinkParser.php | 4 +- src/Inline/Parser/BacktickParser.php | 4 +- src/Inline/Parser/BangParser.php | 4 +- src/Inline/Parser/CloseBracketParser.php | 28 +- src/Inline/Parser/EmphasisParser.php | 4 +- src/Inline/Parser/EntityParser.php | 4 +- src/Inline/Parser/EscapableParser.php | 6 +- src/Inline/Parser/InlineParserInterface.php | 5 +- src/Inline/Parser/NewlineParser.php | 4 +- src/Inline/Parser/OpenBracketParser.php | 4 +- src/Inline/Parser/QuoteParser.php | 10 +- src/Inline/Parser/RawHtmlParser.php | 4 +- src/Inline/Parser/SmartPunctParser.php | 16 +- src/Inline/Processor/EmphasisProcessor.php | 2 + .../Processor/InlineProcessorInterface.php | 4 +- src/Inline/Processor/QuoteProcessor.php | 2 +- src/Inline/Renderer/CodeRenderer.php | 2 +- src/Inline/Renderer/EmphasisRenderer.php | 2 +- src/Inline/Renderer/ImageRenderer.php | 2 +- .../Renderer/InlineRendererInterface.php | 2 +- src/Inline/Renderer/LinkRenderer.php | 2 +- src/Inline/Renderer/NewlineRenderer.php | 2 +- src/Inline/Renderer/RawHtmlRenderer.php | 2 +- src/Inline/Renderer/StrongRenderer.php | 2 +- src/Inline/Renderer/TextRenderer.php | 2 +- src/InlineParserEngine.php | 2 +- src/Reference/ReferenceMap.php | 2 +- src/Util/ArrayCollection.php | 11 +- src/Util/Configuration.php | 2 +- src/Util/Html5Entities.php | 4442 ++++++++--------- src/Util/LinkParserHelper.php | 4 +- src/Util/RegexHelper.php | 15 +- src/Util/UrlEncoder.php | 2 +- tests/benchmark/benchmark.php | 3 +- tests/bootstrap.php | 2 +- tests/functional/LocalDataTest.php | 4 +- tests/functional/SmartPunctTest.php | 12 +- tests/functional/SpecTest.php | 12 +- .../Block/Renderer/FencedCodeRendererTest.php | 1 - tests/unit/CursorTest.php | 1 - tests/unit/EnvironmentTest.php | 15 +- tests/unit/FakeEmptyHtmlRenderer.php | 14 +- tests/unit/FakeHtmlRenderer.php | 12 +- .../unit/Inline/Parser/BacktickParserTest.php | 2 +- tests/unit/Util/ArrayCollectionTest.php | 18 +- tests/unit/Util/ConfigurationTest.php | 2 +- tests/unit/Util/RegexHelperTest.php | 1 - 92 files changed, 2458 insertions(+), 2465 deletions(-) diff --git a/src/Block/Element/AbstractBlock.php b/src/Block/Element/AbstractBlock.php index 36e46cb123..a0ccf8a238 100644 --- a/src/Block/Element/AbstractBlock.php +++ b/src/Block/Element/AbstractBlock.php @@ -123,7 +123,6 @@ public function getLastChild() return $this->children->last(); } - public function addChild(AbstractBlock $childBlock) { $this->children->add($childBlock); @@ -301,7 +300,7 @@ public function getStringContent() /** * @param Cursor $cursor - * @param int $currentLineNumber + * @param int $currentLineNumber * * @return $this */ diff --git a/src/Block/Element/BlockQuote.php b/src/Block/Element/BlockQuote.php index a5926e457f..84a9617334 100644 --- a/src/Block/Element/BlockQuote.php +++ b/src/Block/Element/BlockQuote.php @@ -83,7 +83,7 @@ public function handleRemainingContents(ContextInterface $context, Cursor $curso /** * @param Cursor $cursor - * @param int $currentLineNumber + * @param int $currentLineNumber * * @return $this */ diff --git a/src/Block/Element/FencedCode.php b/src/Block/Element/FencedCode.php index 58c800a3e0..537bdb498d 100644 --- a/src/Block/Element/FencedCode.php +++ b/src/Block/Element/FencedCode.php @@ -41,9 +41,9 @@ class FencedCode extends AbstractBlock protected $offset; /** - * @param int $length + * @param int $length * @param string $char - * @param int $offset + * @param int $offset */ public function __construct($length, $char, $offset) { @@ -185,7 +185,7 @@ public function finalize(ContextInterface $context) // first line becomes info string $this->info = RegexHelper::unescape(trim($this->strings->first())); - if ($this->strings->count() == 1) { + if ($this->strings->count() === 1) { $this->finalStringContents = ''; } else { $this->finalStringContents = implode("\n", $this->strings->slice(1)) . "\n"; @@ -202,7 +202,7 @@ public function handleRemainingContents(ContextInterface $context, Cursor $curso $container = $context->getContainer(); // check for closing code fence - if ($cursor->getIndent() <= 3 && $cursor->getFirstNonSpaceCharacter() == $container->getChar()) { + if ($cursor->getIndent() <= 3 && $cursor->getFirstNonSpaceCharacter() === $container->getChar()) { $match = RegexHelper::matchAll('/^(?:`{3,}|~{3,})(?= *$)/', $cursor->getLine(), $cursor->getFirstNonSpacePosition()); if (strlen($match[0]) >= $container->getLength()) { // don't add closing fence to container; instead, close it: @@ -217,7 +217,7 @@ public function handleRemainingContents(ContextInterface $context, Cursor $curso /** * @param Cursor $cursor - * @param int $currentLineNumber + * @param int $currentLineNumber * * @return $this */ diff --git a/src/Block/Element/Header.php b/src/Block/Element/Header.php index 1f5292cbc7..a01cd7e654 100644 --- a/src/Block/Element/Header.php +++ b/src/Block/Element/Header.php @@ -25,7 +25,7 @@ class Header extends AbstractInlineContainer protected $level; /** - * @param int $level + * @param int $level * @param string $contents */ public function __construct($level, $contents) diff --git a/src/Block/Element/IndentedCode.php b/src/Block/Element/IndentedCode.php index 1eb9e67499..4fe09d828c 100644 --- a/src/Block/Element/IndentedCode.php +++ b/src/Block/Element/IndentedCode.php @@ -14,7 +14,6 @@ namespace League\CommonMark\Block\Element; -use League\CommonMark\Block\Parser\IndentedCodeParser; use League\CommonMark\ContextInterface; use League\CommonMark\Cursor; @@ -71,7 +70,7 @@ public function finalize(ContextInterface $context) $reversed = array_reverse($this->getStrings(), true); foreach ($reversed as $index => $line) { - if ($line == '' || $line === "\n" || preg_match('/^(\n *)$/', $line)) { + if ($line === '' || $line === "\n" || preg_match('/^(\n *)$/', $line)) { unset($reversed[$index]); } else { break; diff --git a/src/Block/Element/ListItem.php b/src/Block/Element/ListItem.php index 299f8af9ee..18e3803332 100644 --- a/src/Block/Element/ListItem.php +++ b/src/Block/Element/ListItem.php @@ -94,7 +94,7 @@ public function handleRemainingContents(ContextInterface $context, Cursor $curso /** * @param Cursor $cursor - * @param int $currentLineNumber + * @param int $currentLineNumber * * @return $this */ diff --git a/src/Block/Element/Paragraph.php b/src/Block/Element/Paragraph.php index 9a39a5f36f..ab56d2832e 100644 --- a/src/Block/Element/Paragraph.php +++ b/src/Block/Element/Paragraph.php @@ -86,7 +86,7 @@ public function finalize(ContextInterface $context) /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/ATXHeaderParser.php b/src/Block/Parser/ATXHeaderParser.php index 432455876f..ddd21bbb2f 100644 --- a/src/Block/Parser/ATXHeaderParser.php +++ b/src/Block/Parser/ATXHeaderParser.php @@ -23,7 +23,7 @@ class ATXHeaderParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/BlockParserInterface.php b/src/Block/Parser/BlockParserInterface.php index 7a3202e5f2..f60b94a458 100644 --- a/src/Block/Parser/BlockParserInterface.php +++ b/src/Block/Parser/BlockParserInterface.php @@ -26,7 +26,7 @@ public function getName(); /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/BlockQuoteParser.php b/src/Block/Parser/BlockQuoteParser.php index ced36e3615..e0347df0ba 100644 --- a/src/Block/Parser/BlockQuoteParser.php +++ b/src/Block/Parser/BlockQuoteParser.php @@ -22,7 +22,7 @@ class BlockQuoteParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/FencedCodeParser.php b/src/Block/Parser/FencedCodeParser.php index e3133cf2ae..e9f894329a 100644 --- a/src/Block/Parser/FencedCodeParser.php +++ b/src/Block/Parser/FencedCodeParser.php @@ -22,7 +22,7 @@ class FencedCodeParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/HorizontalRuleParser.php b/src/Block/Parser/HorizontalRuleParser.php index c92f165bb9..fe55a983db 100644 --- a/src/Block/Parser/HorizontalRuleParser.php +++ b/src/Block/Parser/HorizontalRuleParser.php @@ -23,7 +23,7 @@ class HorizontalRuleParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/HtmlBlockParser.php b/src/Block/Parser/HtmlBlockParser.php index 13f5590670..713770e462 100644 --- a/src/Block/Parser/HtmlBlockParser.php +++ b/src/Block/Parser/HtmlBlockParser.php @@ -24,7 +24,7 @@ class HtmlBlockParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/IndentedCodeParser.php b/src/Block/Parser/IndentedCodeParser.php index 6ad2662f91..5f1261e0ff 100644 --- a/src/Block/Parser/IndentedCodeParser.php +++ b/src/Block/Parser/IndentedCodeParser.php @@ -23,7 +23,7 @@ class IndentedCodeParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/LazyParagraphParser.php b/src/Block/Parser/LazyParagraphParser.php index ed5f5615b1..520b442338 100644 --- a/src/Block/Parser/LazyParagraphParser.php +++ b/src/Block/Parser/LazyParagraphParser.php @@ -21,7 +21,7 @@ class LazyParagraphParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Parser/ListParser.php b/src/Block/Parser/ListParser.php index 2f903bf973..f817268d84 100644 --- a/src/Block/Parser/ListParser.php +++ b/src/Block/Parser/ListParser.php @@ -25,7 +25,7 @@ class ListParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ @@ -79,7 +79,7 @@ public function parse(ContextInterface $context, Cursor $cursor) /** * @param string $marker - * @param int $spacesAfterMarker + * @param int $spacesAfterMarker * @param string $rest * * @return int diff --git a/src/Block/Parser/SetExtHeaderParser.php b/src/Block/Parser/SetExtHeaderParser.php index c555c13ed7..3b1a27056a 100644 --- a/src/Block/Parser/SetExtHeaderParser.php +++ b/src/Block/Parser/SetExtHeaderParser.php @@ -24,7 +24,7 @@ class SetExtHeaderParser extends AbstractBlockParser { /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return bool */ diff --git a/src/Block/Renderer/BlockQuoteRenderer.php b/src/Block/Renderer/BlockQuoteRenderer.php index dc9b3aca6b..554d17977f 100644 --- a/src/Block/Renderer/BlockQuoteRenderer.php +++ b/src/Block/Renderer/BlockQuoteRenderer.php @@ -22,9 +22,9 @@ class BlockQuoteRenderer implements BlockRendererInterface { /** - * @param BlockQuote $block + * @param BlockQuote $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement */ diff --git a/src/Block/Renderer/BlockRendererInterface.php b/src/Block/Renderer/BlockRendererInterface.php index f70f6577a7..2b92209a82 100644 --- a/src/Block/Renderer/BlockRendererInterface.php +++ b/src/Block/Renderer/BlockRendererInterface.php @@ -21,9 +21,9 @@ interface BlockRendererInterface { /** - * @param AbstractBlock $block + * @param AbstractBlock $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement|string */ diff --git a/src/Block/Renderer/DocumentRenderer.php b/src/Block/Renderer/DocumentRenderer.php index 390f836fe4..bc7bccc98f 100644 --- a/src/Block/Renderer/DocumentRenderer.php +++ b/src/Block/Renderer/DocumentRenderer.php @@ -21,9 +21,9 @@ class DocumentRenderer implements BlockRendererInterface { /** - * @param AbstractBlock|Document $block + * @param AbstractBlock|Document $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return string */ diff --git a/src/Block/Renderer/FencedCodeRenderer.php b/src/Block/Renderer/FencedCodeRenderer.php index 71528c6fee..a14ef0cf2e 100644 --- a/src/Block/Renderer/FencedCodeRenderer.php +++ b/src/Block/Renderer/FencedCodeRenderer.php @@ -22,9 +22,9 @@ class FencedCodeRenderer implements BlockRendererInterface { /** - * @param FencedCode $block + * @param FencedCode $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement */ diff --git a/src/Block/Renderer/HeaderRenderer.php b/src/Block/Renderer/HeaderRenderer.php index 87b1c66bd6..31d6244d23 100644 --- a/src/Block/Renderer/HeaderRenderer.php +++ b/src/Block/Renderer/HeaderRenderer.php @@ -22,9 +22,9 @@ class HeaderRenderer implements BlockRendererInterface { /** - * @param Header $block + * @param Header $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement */ diff --git a/src/Block/Renderer/HorizontalRuleRenderer.php b/src/Block/Renderer/HorizontalRuleRenderer.php index 4a35b592d1..866a9d1ea3 100644 --- a/src/Block/Renderer/HorizontalRuleRenderer.php +++ b/src/Block/Renderer/HorizontalRuleRenderer.php @@ -22,9 +22,9 @@ class HorizontalRuleRenderer implements BlockRendererInterface { /** - * @param HorizontalRule $block + * @param HorizontalRule $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement */ diff --git a/src/Block/Renderer/HtmlBlockRenderer.php b/src/Block/Renderer/HtmlBlockRenderer.php index 6ce13a2d6a..17187b9d7a 100644 --- a/src/Block/Renderer/HtmlBlockRenderer.php +++ b/src/Block/Renderer/HtmlBlockRenderer.php @@ -21,9 +21,9 @@ class HtmlBlockRenderer implements BlockRendererInterface { /** - * @param HtmlBlock $block + * @param HtmlBlock $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return string */ diff --git a/src/Block/Renderer/IndentedCodeRenderer.php b/src/Block/Renderer/IndentedCodeRenderer.php index 282ab48b74..f220fd7428 100644 --- a/src/Block/Renderer/IndentedCodeRenderer.php +++ b/src/Block/Renderer/IndentedCodeRenderer.php @@ -22,9 +22,9 @@ class IndentedCodeRenderer implements BlockRendererInterface { /** - * @param AbstractBlock $block + * @param AbstractBlock $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement */ diff --git a/src/Block/Renderer/ListBlockRenderer.php b/src/Block/Renderer/ListBlockRenderer.php index d83608f1b3..b264ebb6ab 100644 --- a/src/Block/Renderer/ListBlockRenderer.php +++ b/src/Block/Renderer/ListBlockRenderer.php @@ -22,9 +22,9 @@ class ListBlockRenderer implements BlockRendererInterface { /** - * @param ListBlock $block + * @param ListBlock $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement */ @@ -36,9 +36,9 @@ public function render(AbstractBlock $block, ElementRendererInterface $htmlRende $listData = $block->getListData(); - $tag = $listData->type == ListBlock::TYPE_UNORDERED ? 'ul' : 'ol'; + $tag = $listData->type === ListBlock::TYPE_UNORDERED ? 'ul' : 'ol'; $attr = ($listData->start === null || $listData->start === 1) ? - [] : ['start' => (string)$listData->start]; + [] : ['start' => (string) $listData->start]; return new HtmlElement( $tag, diff --git a/src/Block/Renderer/ListItemRenderer.php b/src/Block/Renderer/ListItemRenderer.php index 0bb2ba3d0b..70af81c3f5 100644 --- a/src/Block/Renderer/ListItemRenderer.php +++ b/src/Block/Renderer/ListItemRenderer.php @@ -22,9 +22,9 @@ class ListItemRenderer implements BlockRendererInterface { /** - * @param ListItem $block + * @param ListItem $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return string */ diff --git a/src/Block/Renderer/ParagraphRenderer.php b/src/Block/Renderer/ParagraphRenderer.php index bdfb6d191a..2d0b961fd1 100644 --- a/src/Block/Renderer/ParagraphRenderer.php +++ b/src/Block/Renderer/ParagraphRenderer.php @@ -22,9 +22,9 @@ class ParagraphRenderer implements BlockRendererInterface { /** - * @param Paragraph $block + * @param Paragraph $block * @param ElementRendererInterface $htmlRenderer - * @param bool $inTightList + * @param bool $inTightList * * @return HtmlElement|string */ diff --git a/src/Converter.php b/src/Converter.php index d2bd9aba4b..b3528e61a6 100644 --- a/src/Converter.php +++ b/src/Converter.php @@ -36,7 +36,7 @@ class Converter /** * Create a new commonmark converter instance. * - * @param DocParser $docParser + * @param DocParser $docParser * @param ElementRendererInterface $htmlRenderer */ public function __construct(DocParser $docParser, ElementRendererInterface $htmlRenderer) diff --git a/src/Cursor.php b/src/Cursor.php index b852e443b8..b6b979a86c 100644 --- a/src/Cursor.php +++ b/src/Cursor.php @@ -11,8 +11,6 @@ namespace League\CommonMark; -use League\CommonMark\Util\RegexHelper; - class Cursor { const INDENT_LEVEL = 4; @@ -141,7 +139,7 @@ public function getCharacter($index = null) // Index out-of-bounds, or we're at the end if ($index < 0 || $index >= $this->length) { - return null; + return; } return mb_substr($this->line, $index, 1, 'utf-8'); @@ -180,8 +178,7 @@ public function advance() /** * Move the cursor forwards * - * @param int $characters - * Number of characters to advance by + * @param int $characters Number of characters to advance by */ public function advanceBy($characters, $advanceByColumns = false) { @@ -218,13 +215,10 @@ public function advanceBy($characters, $advanceByColumns = false) /** * Advances the cursor while the given character is matched * - * @param string $character - * Character to match - * @param int|null $maximumCharactersToAdvance - * Maximum number of characters to advance before giving up + * @param string $character Character to match + * @param int|null $maximumCharactersToAdvance Maximum number of characters to advance before giving up * - * @return int - * Number of positions moved (0 if unsuccessful) + * @return int Number of positions moved (0 if unsuccessful) */ public function advanceWhileMatches($character, $maximumCharactersToAdvance = null) { @@ -253,8 +247,7 @@ public function advanceWhileMatches($character, $maximumCharactersToAdvance = nu /** * Parse zero or more space characters, including at most one newline * - * @return int - * Number of positions moved + * @return int Number of positions moved */ public function advanceToFirstNonSpace() { @@ -317,7 +310,7 @@ public function match($regex) $matches = []; if (!preg_match($regex, $subject, $matches, PREG_OFFSET_CAPTURE)) { - return null; + return; } // PREG_OFFSET_CAPTURE always returns the byte offset, not the char offset, which is annoying diff --git a/src/CursorState.php b/src/CursorState.php index 861db17321..1a2046cc5e 100644 --- a/src/CursorState.php +++ b/src/CursorState.php @@ -49,13 +49,13 @@ class CursorState private $column; /** - * @param string $line - * @param int $length - * @param int $currentPosition - * @param int $previousPosition + * @param string $line + * @param int $length + * @param int $currentPosition + * @param int $previousPosition * @param int|null $firstNonSpaceCache - * @param int $indent - * @param int $column + * @param int $indent + * @param int $column */ public function __construct($line, $length, $currentPosition, $previousPosition, $firstNonSpaceCache, $indent, $column) { diff --git a/src/Delimiter/Delimiter.php b/src/Delimiter/Delimiter.php index 8c1f0541d8..cc984eb75f 100644 --- a/src/Delimiter/Delimiter.php +++ b/src/Delimiter/Delimiter.php @@ -44,12 +44,12 @@ class Delimiter protected $index; /** - * @param string $char - * @param int $numDelims - * @param int $pos - * @param bool $canOpen - * @param bool $canClose - * @param int|null $index + * @param string $char + * @param int $numDelims + * @param int $pos + * @param bool $canOpen + * @param bool $canClose + * @param int|null $index */ public function __construct($char, $numDelims, $pos, $canOpen, $canClose, $index = null) { @@ -63,7 +63,7 @@ public function __construct($char, $numDelims, $pos, $canOpen, $canClose, $index } /** - * @return boolean + * @return bool */ public function canClose() { @@ -71,7 +71,7 @@ public function canClose() } /** - * @param boolean $canClose + * @param bool $canClose * * @return $this */ @@ -83,7 +83,7 @@ public function setCanClose($canClose) } /** - * @return boolean + * @return bool */ public function canOpen() { @@ -91,7 +91,7 @@ public function canOpen() } /** - * @param boolean $canOpen + * @param bool $canOpen * * @return $this */ diff --git a/src/Delimiter/DelimiterStack.php b/src/Delimiter/DelimiterStack.php index 71b813be5f..e6183d470b 100644 --- a/src/Delimiter/DelimiterStack.php +++ b/src/Delimiter/DelimiterStack.php @@ -118,8 +118,8 @@ public function searchByCharacter($characters) /** * @param string|string[] $characters - * @param callable $callback - * @param Delimiter $stackBottom + * @param callable $callback + * @param Delimiter $stackBottom */ public function iterateByCharacters($characters, $callback, Delimiter $stackBottom = null) { @@ -178,6 +178,6 @@ protected function findFirstMatchingOpener(Delimiter $closer, $openersBottom, De $opener = $opener->getPrevious(); } - return null; + return; } } diff --git a/src/DocParser.php b/src/DocParser.php index 412e5666a8..2a17ff0449 100644 --- a/src/DocParser.php +++ b/src/DocParser.php @@ -19,7 +19,6 @@ use League\CommonMark\Block\Element\Document; use League\CommonMark\Block\Element\ListBlock; use League\CommonMark\Block\Element\Paragraph; -use League\CommonMark\Util\TextHelper; class DocParser { @@ -58,7 +57,7 @@ public function getEnvironment() private function preProcessInput($input) { // Remove any /n which appears at the very end of the string - if (substr($input, -1) == "\n") { + if (substr($input, -1) === "\n") { $input = substr($input, 0, -1); } @@ -152,7 +151,7 @@ private function processInlines(ContextInterface $context, AbstractBlock $block) * break of of all lists" feature.) * * @param ContextInterface $context - * @param AbstractBlock $block + * @param AbstractBlock $block */ private function breakOutOfLists(ContextInterface $context, AbstractBlock $block) { diff --git a/src/ElementRendererInterface.php b/src/ElementRendererInterface.php index c56b8d826a..3462aa720a 100644 --- a/src/ElementRendererInterface.php +++ b/src/ElementRendererInterface.php @@ -49,9 +49,9 @@ public function renderInlines($inlines); * @param AbstractBlock $block * @param bool $inTightList * - * @return string - * * @throws \RuntimeException + * + * @return string */ public function renderBlock(AbstractBlock $block, $inTightList = false); diff --git a/src/Environment.php b/src/Environment.php index 1d642003b5..805fc50987 100644 --- a/src/Environment.php +++ b/src/Environment.php @@ -109,7 +109,7 @@ public function setConfig(array $config = []) /** * @param string|null $key - * @param mixed|null $default + * @param mixed|null $default * * @return mixed|null */ @@ -133,7 +133,7 @@ public function addBlockParser(BlockParserInterface $parser) } /** - * @param string $blockClass + * @param string $blockClass * @param BlockRendererInterface $blockRenderer * * @return $this @@ -176,7 +176,7 @@ public function addInlineProcessor(InlineProcessorInterface $processor) } /** - * @param string $inlineClass + * @param string $inlineClass * @param InlineRendererInterface $renderer * * @return $this @@ -210,7 +210,7 @@ public function getBlockRendererForClass($blockClass) $this->initializeExtensions(); if (!isset($this->blockRenderersByClass[$blockClass])) { - return null; + return; } return $this->blockRenderersByClass[$blockClass]; @@ -248,7 +248,7 @@ public function getInlineParsersForCharacter($character) $this->initializeExtensions(); if (!isset($this->inlineParsersByCharacter[$character])) { - return null; + return; } return $this->inlineParsersByCharacter[$character]; @@ -274,7 +274,7 @@ public function getInlineRendererForClass($inlineClass) $this->initializeExtensions(); if (!isset($this->inlineRenderersByClass[$inlineClass])) { - return null; + return; } return $this->inlineRenderersByClass[$inlineClass]; @@ -420,8 +420,8 @@ public static function createCommonMarkEnvironment() 'renderer' => [ 'block_separator' => "\n", 'inner_separator' => "\n", - 'soft_break' => "\n", - ] + 'soft_break' => "\n", + ], ]); return $environment; diff --git a/src/Extension/CommonMarkCoreExtension.php b/src/Extension/CommonMarkCoreExtension.php index 2fc8eed675..5cd846ab2e 100644 --- a/src/Extension/CommonMarkCoreExtension.php +++ b/src/Extension/CommonMarkCoreExtension.php @@ -85,7 +85,7 @@ public function getInlineParsers() public function getInlineProcessors() { return [ - new InlineProcessor\EmphasisProcessor() + new InlineProcessor\EmphasisProcessor(), ]; } diff --git a/src/Extension/MiscExtension.php b/src/Extension/MiscExtension.php index 0811d99b5a..8483aa4202 100644 --- a/src/Extension/MiscExtension.php +++ b/src/Extension/MiscExtension.php @@ -82,7 +82,7 @@ public function getBlockRenderers() } /** - * @param string $blockClass + * @param string $blockClass * @param BlockRendererInterface $blockRenderer * * @return $this @@ -151,7 +151,7 @@ public function getInlineRenderers() } /** - * @param string $inlineClass + * @param string $inlineClass * @param InlineRendererInterface $inlineRenderer * * @return $this diff --git a/src/HtmlElement.php b/src/HtmlElement.php index f9b25bd6b4..9dab1e9135 100644 --- a/src/HtmlElement.php +++ b/src/HtmlElement.php @@ -25,10 +25,10 @@ class HtmlElement protected $selfClosing = false; /** - * @param string $tagName - * @param string[] $attributes + * @param string $tagName + * @param string[] $attributes * @param HtmlElement|HtmlElement[]|string $contents - * @param bool $selfClosing + * @param bool $selfClosing */ public function __construct($tagName, $attributes = [], $contents = '', $selfClosing = false) { @@ -63,7 +63,7 @@ public function getAllAttributes() public function getAttribute($key) { if (!isset($this->attributes[$key])) { - return null; + return; } return $this->attributes[$key]; diff --git a/src/HtmlRenderer.php b/src/HtmlRenderer.php index 533074dad6..6ff3483212 100644 --- a/src/HtmlRenderer.php +++ b/src/HtmlRenderer.php @@ -36,7 +36,7 @@ public function __construct(Environment $environment) } /** - * @param string $option + * @param string $option * @param mixed|null $default * * @return mixed|null @@ -66,9 +66,9 @@ public function escape($string, $preserveEntities = false) /** * @param AbstractInline $inline * - * @return string - * * @throws \RuntimeException + * + * @return string */ protected function renderInline(AbstractInline $inline) { @@ -97,11 +97,11 @@ public function renderInlines($inlines) /** * @param AbstractBlock $block - * @param bool $inTightList - * - * @return string + * @param bool $inTightList * * @throws \RuntimeException + * + * @return string */ public function renderBlock(AbstractBlock $block, $inTightList = false) { diff --git a/src/Inline/Element/AbstractInline.php b/src/Inline/Element/AbstractInline.php index a6e3dd7e05..590b8d804c 100644 --- a/src/Inline/Element/AbstractInline.php +++ b/src/Inline/Element/AbstractInline.php @@ -45,7 +45,7 @@ public function getParent() */ public function setParent($parent) { - if (!$parent instanceof AbstractBlock && !$parent instanceof AbstractInline) { + if (!$parent instanceof AbstractBlock && !$parent instanceof self) { throw new \InvalidArgumentException(sprintf( 'Argument 1 passed to %s() must be an instance of %s or %s, instance of %s given', __METHOD__, diff --git a/src/Inline/Element/AbstractStringContainer.php b/src/Inline/Element/AbstractStringContainer.php index 88b1564123..b2852eca64 100644 --- a/src/Inline/Element/AbstractStringContainer.php +++ b/src/Inline/Element/AbstractStringContainer.php @@ -23,7 +23,7 @@ class AbstractStringContainer extends AbstractInline /** * @param string $contents - * @param array $data + * @param array $data */ public function __construct($contents = '', array $data = []) { diff --git a/src/Inline/Element/Image.php b/src/Inline/Element/Image.php index d8f6c6da81..c5055ffe81 100644 --- a/src/Inline/Element/Image.php +++ b/src/Inline/Element/Image.php @@ -19,9 +19,9 @@ class Image extends AbstractWebResource { /** - * @param string $url + * @param string $url * @param ArrayCollection|string $label - * @param string $title + * @param string $title */ public function __construct($url, $label = '', $title = '') { diff --git a/src/Inline/Element/Link.php b/src/Inline/Element/Link.php index 579f794bd6..e4627fc3d8 100644 --- a/src/Inline/Element/Link.php +++ b/src/Inline/Element/Link.php @@ -19,9 +19,9 @@ class Link extends AbstractWebResource { /** - * @param string $url + * @param string $url * @param ArrayCollection|string|null $label - * @param string $title + * @param string $title */ public function __construct($url, $label = null, $title = '') { diff --git a/src/Inline/Parser/AbstractInlineParser.php b/src/Inline/Parser/AbstractInlineParser.php index f1c43b7be5..30e874de7e 100644 --- a/src/Inline/Parser/AbstractInlineParser.php +++ b/src/Inline/Parser/AbstractInlineParser.php @@ -17,8 +17,7 @@ abstract class AbstractInlineParser implements InlineParserInterface { /** - * @return string - * Name of the parser (must be unique within its block type) + * @return string Name of the parser (must be unique within its block type) */ public function getName() { diff --git a/src/Inline/Parser/AutolinkParser.php b/src/Inline/Parser/AutolinkParser.php index b71782a826..f801442cf6 100644 --- a/src/Inline/Parser/AutolinkParser.php +++ b/src/Inline/Parser/AutolinkParser.php @@ -15,8 +15,8 @@ namespace League\CommonMark\Inline\Parser; use League\CommonMark\ContextInterface; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Link; +use League\CommonMark\InlineParserContext; use League\CommonMark\Util\UrlEncoder; class AutolinkParser extends AbstractInlineParser @@ -33,7 +33,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/BacktickParser.php b/src/Inline/Parser/BacktickParser.php index a41e3b44ba..d388ad8b41 100644 --- a/src/Inline/Parser/BacktickParser.php +++ b/src/Inline/Parser/BacktickParser.php @@ -15,9 +15,9 @@ namespace League\CommonMark\Inline\Parser; use League\CommonMark\ContextInterface; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Code; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; class BacktickParser extends AbstractInlineParser { @@ -30,7 +30,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/BangParser.php b/src/Inline/Parser/BangParser.php index 9d0d818422..19e3f4b44b 100644 --- a/src/Inline/Parser/BangParser.php +++ b/src/Inline/Parser/BangParser.php @@ -16,8 +16,8 @@ use League\CommonMark\ContextInterface; use League\CommonMark\Delimiter\Delimiter; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; class BangParser extends AbstractInlineParser { @@ -30,7 +30,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/CloseBracketParser.php b/src/Inline/Parser/CloseBracketParser.php index c07099e854..27a259ee67 100644 --- a/src/Inline/Parser/CloseBracketParser.php +++ b/src/Inline/Parser/CloseBracketParser.php @@ -21,9 +21,9 @@ use League\CommonMark\Environment; use League\CommonMark\EnvironmentAwareInterface; use League\CommonMark\Inline\Element\AbstractWebResource; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Image; use League\CommonMark\Inline\Element\Link; +use League\CommonMark\InlineParserContext; use League\CommonMark\Reference\Reference; use League\CommonMark\Reference\ReferenceMap; use League\CommonMark\Util\ArrayCollection; @@ -45,7 +45,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool @@ -122,8 +122,8 @@ public function setEnvironment(Environment $environment) /** * @param ArrayCollection $collection - * @param int $start - * @param int $end + * @param int $start + * @param int $end */ protected function nullify(ArrayCollection $collection, $start, $end) { @@ -133,10 +133,10 @@ protected function nullify(ArrayCollection $collection, $start, $end) } /** - * @param Cursor $cursor + * @param Cursor $cursor * @param ReferenceMap $referenceMap - * @param Delimiter $opener - * @param int $startPos + * @param Delimiter $opener + * @param int $startPos * * @return array|bool */ @@ -144,7 +144,7 @@ protected function tryParseLink(Cursor $cursor, ReferenceMap $referenceMap, Deli { // Check to see if we have a link/image // Inline link? - if ($cursor->getCharacter() == '(') { + if ($cursor->getCharacter() === '(') { if ($result = $this->tryParseInlineLinkAndTitle($cursor)) { return $result; } @@ -186,10 +186,10 @@ protected function tryParseInlineLinkAndTitle(Cursor $cursor) } /** - * @param Cursor $cursor + * @param Cursor $cursor * @param ReferenceMap $referenceMap - * @param Delimiter $opener - * @param int $startPos + * @param Delimiter $opener + * @param int $startPos * * @return Reference|null */ @@ -215,10 +215,10 @@ protected function tryParseReference(Cursor $cursor, ReferenceMap $referenceMap, } /** - * @param string $url + * @param string $url * @param ArrayCollection $labelInlines - * @param string $title - * @param bool $isImage + * @param string $title + * @param bool $isImage * * @return AbstractWebResource */ diff --git a/src/Inline/Parser/EmphasisParser.php b/src/Inline/Parser/EmphasisParser.php index 85acdee40b..c8b4fab008 100644 --- a/src/Inline/Parser/EmphasisParser.php +++ b/src/Inline/Parser/EmphasisParser.php @@ -16,8 +16,8 @@ use League\CommonMark\ContextInterface; use League\CommonMark\Delimiter\Delimiter; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; use League\CommonMark\Util\RegexHelper; class EmphasisParser extends AbstractInlineParser @@ -31,7 +31,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/EntityParser.php b/src/Inline/Parser/EntityParser.php index 65a84ab1bb..5ad716b4d6 100644 --- a/src/Inline/Parser/EntityParser.php +++ b/src/Inline/Parser/EntityParser.php @@ -15,8 +15,8 @@ namespace League\CommonMark\Inline\Parser; use League\CommonMark\ContextInterface; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; use League\CommonMark\Util\Html5Entities; use League\CommonMark\Util\RegexHelper; @@ -31,7 +31,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/EscapableParser.php b/src/Inline/Parser/EscapableParser.php index 419950b464..7824975e2b 100644 --- a/src/Inline/Parser/EscapableParser.php +++ b/src/Inline/Parser/EscapableParser.php @@ -15,9 +15,9 @@ namespace League\CommonMark\Inline\Parser; use League\CommonMark\ContextInterface; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Newline; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; use League\CommonMark\Util\RegexHelper; class EscapableParser extends AbstractInlineParser @@ -31,8 +31,9 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext + * * @return bool */ public function parse(ContextInterface $context, InlineParserContext $inlineContext) @@ -58,7 +59,6 @@ public function parse(ContextInterface $context, InlineParserContext $inlineCont return true; } - $cursor->advance(); $inlineContext->getInlines()->add(new Text('\\')); diff --git a/src/Inline/Parser/InlineParserInterface.php b/src/Inline/Parser/InlineParserInterface.php index 893b70c8c1..a136eeffc0 100644 --- a/src/Inline/Parser/InlineParserInterface.php +++ b/src/Inline/Parser/InlineParserInterface.php @@ -17,8 +17,7 @@ interface InlineParserInterface { /** - * @return string - * Name of the parser (must be unique within its block type) + * @return string Name of the parser (must be unique within its block type) */ public function getName(); @@ -28,7 +27,7 @@ public function getName(); public function getCharacters(); /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/NewlineParser.php b/src/Inline/Parser/NewlineParser.php index 9a2140669d..e5b7cd2141 100644 --- a/src/Inline/Parser/NewlineParser.php +++ b/src/Inline/Parser/NewlineParser.php @@ -15,9 +15,9 @@ namespace League\CommonMark\Inline\Parser; use League\CommonMark\ContextInterface; +use League\CommonMark\Inline\Element\Newline; use League\CommonMark\Inline\Element\Text; use League\CommonMark\InlineParserContext; -use League\CommonMark\Inline\Element\Newline; class NewlineParser extends AbstractInlineParser { @@ -30,7 +30,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/OpenBracketParser.php b/src/Inline/Parser/OpenBracketParser.php index 9676e8de38..390175bd05 100644 --- a/src/Inline/Parser/OpenBracketParser.php +++ b/src/Inline/Parser/OpenBracketParser.php @@ -16,8 +16,8 @@ use League\CommonMark\ContextInterface; use League\CommonMark\Delimiter\Delimiter; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; class OpenBracketParser extends AbstractInlineParser { @@ -30,7 +30,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/QuoteParser.php b/src/Inline/Parser/QuoteParser.php index 98782f035f..59f79362c1 100644 --- a/src/Inline/Parser/QuoteParser.php +++ b/src/Inline/Parser/QuoteParser.php @@ -16,14 +16,14 @@ use League\CommonMark\ContextInterface; use League\CommonMark\Delimiter\Delimiter; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; use League\CommonMark\Util\RegexHelper; class QuoteParser extends AbstractInlineParser { - protected $double = ['"', "“", "”"]; - protected $single = ["'", "‘", "’"]; + protected $double = ['"', '“', '”']; + protected $single = ["'", '‘', '’']; /** * @return string[] @@ -34,7 +34,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool @@ -45,7 +45,7 @@ public function parse(ContextInterface $context, InlineParserContext $inlineCont if (in_array($character, $this->double)) { $character = '“'; } elseif (in_array($character, $this->single)) { - $character = "’"; + $character = '’'; } else { return false; } diff --git a/src/Inline/Parser/RawHtmlParser.php b/src/Inline/Parser/RawHtmlParser.php index b2a215d998..e80a8dca9c 100644 --- a/src/Inline/Parser/RawHtmlParser.php +++ b/src/Inline/Parser/RawHtmlParser.php @@ -15,8 +15,8 @@ namespace League\CommonMark\Inline\Parser; use League\CommonMark\ContextInterface; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Html; +use League\CommonMark\InlineParserContext; use League\CommonMark\Util\RegexHelper; class RawHtmlParser extends AbstractInlineParser @@ -30,7 +30,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool diff --git a/src/Inline/Parser/SmartPunctParser.php b/src/Inline/Parser/SmartPunctParser.php index 4f0c0932b1..7817fd8084 100644 --- a/src/Inline/Parser/SmartPunctParser.php +++ b/src/Inline/Parser/SmartPunctParser.php @@ -15,8 +15,8 @@ namespace League\CommonMark\Inline\Parser; use League\CommonMark\ContextInterface; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Element\Text; +use League\CommonMark\InlineParserContext; class SmartPunctParser extends AbstractInlineParser { @@ -29,7 +29,7 @@ public function getCharacters() } /** - * @param ContextInterface $context + * @param ContextInterface $context * @param InlineParserContext $inlineContext * * @return bool @@ -40,15 +40,14 @@ public function parse(ContextInterface $context, InlineParserContext $inlineCont $ch = $cursor->getCharacter(); // Ellipses - if ($ch === '.' && $matched = $cursor->match('/^\\.( ?\\.)\\1/')) - { - $inlineContext->getInlines()->add(new Text("…")); + if ($ch === '.' && $matched = $cursor->match('/^\\.( ?\\.)\\1/')) { + $inlineContext->getInlines()->add(new Text('…')); + return true; } // Em/En-dashes - elseif ($ch === '-' && $matched = $cursor->match('/^(?match('/^(?getInlines()->add(new Text( - str_repeat($em_dash, $em_count). + str_repeat($em_dash, $em_count) . str_repeat($en_dash, $en_count) )); + return true; } diff --git a/src/Inline/Processor/EmphasisProcessor.php b/src/Inline/Processor/EmphasisProcessor.php index 3e56f9a1c3..84f14b89a2 100644 --- a/src/Inline/Processor/EmphasisProcessor.php +++ b/src/Inline/Processor/EmphasisProcessor.php @@ -75,8 +75,10 @@ public function processInlines(ArrayCollection $inlines, DelimiterStack $delimit $inlines->set($closer->getPos(), null); $tempStack = $closer->getNext(); $stack->removeDelimiter($closer); + return $tempStack; } + return $closer; }; diff --git a/src/Inline/Processor/InlineProcessorInterface.php b/src/Inline/Processor/InlineProcessorInterface.php index 27ba17a473..6ce967ae73 100644 --- a/src/Inline/Processor/InlineProcessorInterface.php +++ b/src/Inline/Processor/InlineProcessorInterface.php @@ -22,8 +22,8 @@ interface InlineProcessorInterface { /** * @param ArrayCollection $inlines - * @param DelimiterStack $delimiterStack - * @param Delimiter $stackBottom + * @param DelimiterStack $delimiterStack + * @param Delimiter $stackBottom * * @return void */ diff --git a/src/Inline/Processor/QuoteProcessor.php b/src/Inline/Processor/QuoteProcessor.php index a4c7a86f6c..64f852cb6e 100644 --- a/src/Inline/Processor/QuoteProcessor.php +++ b/src/Inline/Processor/QuoteProcessor.php @@ -39,6 +39,6 @@ public function processInlines(ArrayCollection $inlines, DelimiterStack $delimit }; // Process the emphasis characters - $delimiterStack->iterateByCharacters(['“', "’"], $callback, $stackBottom); + $delimiterStack->iterateByCharacters(['“', '’'], $callback, $stackBottom); } } diff --git a/src/Inline/Renderer/CodeRenderer.php b/src/Inline/Renderer/CodeRenderer.php index 59d6e7eb8b..f451047216 100644 --- a/src/Inline/Renderer/CodeRenderer.php +++ b/src/Inline/Renderer/CodeRenderer.php @@ -22,7 +22,7 @@ class CodeRenderer implements InlineRendererInterface { /** - * @param Code $inline + * @param Code $inline * @param ElementRendererInterface $htmlRenderer * * @return HtmlElement diff --git a/src/Inline/Renderer/EmphasisRenderer.php b/src/Inline/Renderer/EmphasisRenderer.php index ea7231e9a1..9fa27460e0 100644 --- a/src/Inline/Renderer/EmphasisRenderer.php +++ b/src/Inline/Renderer/EmphasisRenderer.php @@ -22,7 +22,7 @@ class EmphasisRenderer implements InlineRendererInterface { /** - * @param Emphasis $inline + * @param Emphasis $inline * @param ElementRendererInterface $htmlRenderer * * @return HtmlElement diff --git a/src/Inline/Renderer/ImageRenderer.php b/src/Inline/Renderer/ImageRenderer.php index 92c7053151..2123bfab50 100644 --- a/src/Inline/Renderer/ImageRenderer.php +++ b/src/Inline/Renderer/ImageRenderer.php @@ -22,7 +22,7 @@ class ImageRenderer implements InlineRendererInterface { /** - * @param Image $inline + * @param Image $inline * @param ElementRendererInterface $htmlRenderer * * @return HtmlElement diff --git a/src/Inline/Renderer/InlineRendererInterface.php b/src/Inline/Renderer/InlineRendererInterface.php index 8cb7e587ad..91af10e4d8 100644 --- a/src/Inline/Renderer/InlineRendererInterface.php +++ b/src/Inline/Renderer/InlineRendererInterface.php @@ -21,7 +21,7 @@ interface InlineRendererInterface { /** - * @param AbstractInline $inline + * @param AbstractInline $inline * @param ElementRendererInterface $htmlRenderer * * @return HtmlElement|string diff --git a/src/Inline/Renderer/LinkRenderer.php b/src/Inline/Renderer/LinkRenderer.php index f4bf4b6572..e7ab307002 100644 --- a/src/Inline/Renderer/LinkRenderer.php +++ b/src/Inline/Renderer/LinkRenderer.php @@ -22,7 +22,7 @@ class LinkRenderer implements InlineRendererInterface { /** - * @param Link $inline + * @param Link $inline * @param ElementRendererInterface $htmlRenderer * * @return HtmlElement diff --git a/src/Inline/Renderer/NewlineRenderer.php b/src/Inline/Renderer/NewlineRenderer.php index 474c918e1f..f45ab3d00b 100644 --- a/src/Inline/Renderer/NewlineRenderer.php +++ b/src/Inline/Renderer/NewlineRenderer.php @@ -22,7 +22,7 @@ class NewlineRenderer implements InlineRendererInterface { /** - * @param Newline $inline + * @param Newline $inline * @param ElementRendererInterface $htmlRenderer * * @return HtmlElement|string diff --git a/src/Inline/Renderer/RawHtmlRenderer.php b/src/Inline/Renderer/RawHtmlRenderer.php index ea66ca8ca2..6a6fc25087 100644 --- a/src/Inline/Renderer/RawHtmlRenderer.php +++ b/src/Inline/Renderer/RawHtmlRenderer.php @@ -21,7 +21,7 @@ class RawHtmlRenderer implements InlineRendererInterface { /** - * @param Html $inline + * @param Html $inline * @param ElementRendererInterface $htmlRenderer * * @return string diff --git a/src/Inline/Renderer/StrongRenderer.php b/src/Inline/Renderer/StrongRenderer.php index 971622666f..c7f3c34235 100644 --- a/src/Inline/Renderer/StrongRenderer.php +++ b/src/Inline/Renderer/StrongRenderer.php @@ -22,7 +22,7 @@ class StrongRenderer implements InlineRendererInterface { /** - * @param Strong $inline + * @param Strong $inline * @param ElementRendererInterface $htmlRenderer * * @return HtmlElement diff --git a/src/Inline/Renderer/TextRenderer.php b/src/Inline/Renderer/TextRenderer.php index 3a9b0f4644..31fa55cb48 100644 --- a/src/Inline/Renderer/TextRenderer.php +++ b/src/Inline/Renderer/TextRenderer.php @@ -21,7 +21,7 @@ class TextRenderer implements InlineRendererInterface { /** - * @param Text $inline + * @param Text $inline * @param ElementRendererInterface $htmlRenderer * * @return string diff --git a/src/InlineParserEngine.php b/src/InlineParserEngine.php index 155970ec9f..6e4227309f 100644 --- a/src/InlineParserEngine.php +++ b/src/InlineParserEngine.php @@ -28,7 +28,7 @@ public function __construct(Environment $environment) /** * @param ContextInterface $context - * @param Cursor $cursor + * @param Cursor $cursor * * @return ArrayCollection */ diff --git a/src/Reference/ReferenceMap.php b/src/Reference/ReferenceMap.php index 303322a02d..7fc7ce3f29 100644 --- a/src/Reference/ReferenceMap.php +++ b/src/Reference/ReferenceMap.php @@ -61,7 +61,7 @@ public function getReference($label) if (isset($this->references[$label])) { return $this->references[$label]; } else { - return null; + return; } } diff --git a/src/Util/ArrayCollection.php b/src/Util/ArrayCollection.php index a6a2b8442b..fe4743dd7f 100644 --- a/src/Util/ArrayCollection.php +++ b/src/Util/ArrayCollection.php @@ -25,6 +25,7 @@ class ArrayCollection implements \IteratorAggregate, \Countable, \ArrayAccess /** * Constructor + * * @param array $elements */ public function __construct(array $elements = []) @@ -97,7 +98,7 @@ public function get($key) public function remove($key) { if (!isset($this->elements[$key]) && !array_key_exists($key, $this->elements)) { - return null; + return; } $removed = $this->elements[$key]; @@ -159,7 +160,7 @@ public function count() * * @param mixed $offset An offset to check for. * - * @return boolean true on success or false on failure. + * @return bool true on success or false on failure. */ public function offsetExists($offset) { @@ -168,6 +169,7 @@ public function offsetExists($offset) /** * Offset to retrieve + * * @param mixed $offset The offset to retrieve. * * @return mixed|null @@ -179,8 +181,9 @@ public function offsetGet($offset) /** * Offset to set + * * @param mixed $offset The offset to assign the value to. - * @param mixed $value The value to set. + * @param mixed $value The value to set. * * @return void */ @@ -195,6 +198,7 @@ public function offsetSet($offset, $value) /** * Offset to unset + * * @param mixed $offset The offset to unset. * * @return void @@ -206,6 +210,7 @@ public function offsetUnset($offset) /** * Returns a subset of the array + * * @param int $offset * @param int|null $length * diff --git a/src/Util/Configuration.php b/src/Util/Configuration.php index a6963e47e5..2eb187142a 100644 --- a/src/Util/Configuration.php +++ b/src/Util/Configuration.php @@ -44,7 +44,7 @@ public function setConfig(array $config = []) /** * @param string|null $key - * @param mixed|null $default + * @param mixed|null $default * * @return mixed|null */ diff --git a/src/Util/Html5Entities.php b/src/Util/Html5Entities.php index 58b0ff4a00..a2d692ad65 100644 --- a/src/Util/Html5Entities.php +++ b/src/Util/Html5Entities.php @@ -17,2229 +17,2229 @@ class Html5Entities { public static $entitiesByName = [ - 'Aacute' => 'Á', - 'Aacut' => 'Á', - 'aacute' => 'á', - 'aacut' => 'á', - 'Abreve' => 'Ă', - 'abreve' => 'ă', - 'ac' => '∾', - 'acd' => '∿', - 'acE' => '∾̳', - 'Acirc' => 'Â', - 'Acir' => 'Â', - 'acirc' => 'â', - 'acir' => 'â', - 'acute' => '´', - 'acut' => '´', - 'Acy' => 'А', - 'acy' => 'а', - 'AElig' => 'Æ', - 'AEli' => 'Æ', - 'aelig' => 'æ', - 'aeli' => 'æ', - 'af' => '⁡', - 'Afr' => '𝔄', - 'afr' => '𝔞', - 'Agrave' => 'À', - 'Agrav' => 'À', - 'agrave' => 'à', - 'agrav' => 'à', - 'alefsym' => 'ℵ', - 'aleph' => 'ℵ', - 'Alpha' => 'Α', - 'alpha' => 'α', - 'Amacr' => 'Ā', - 'amacr' => 'ā', - 'amalg' => '⨿', - 'AMP' => '&', - 'AM' => '&', - 'amp' => '&', - 'am' => '&', - 'And' => '⩓', - 'and' => '∧', - 'andand' => '⩕', - 'andd' => '⩜', - 'andslope' => '⩘', - 'andv' => '⩚', - 'ang' => '∠', - 'ange' => '⦤', - 'angle' => '∠', - 'angmsd' => '∡', - 'angmsdaa' => '⦨', - 'angmsdab' => '⦩', - 'angmsdac' => '⦪', - 'angmsdad' => '⦫', - 'angmsdae' => '⦬', - 'angmsdaf' => '⦭', - 'angmsdag' => '⦮', - 'angmsdah' => '⦯', - 'angrt' => '∟', - 'angrtvb' => '⊾', - 'angrtvbd' => '⦝', - 'angsph' => '∢', - 'angst' => 'Å', - 'angzarr' => '⍼', - 'Aogon' => 'Ą', - 'aogon' => 'ą', - 'Aopf' => '𝔸', - 'aopf' => '𝕒', - 'ap' => '≈', - 'apacir' => '⩯', - 'apE' => '⩰', - 'ape' => '≊', - 'apid' => '≋', - 'apos' => '\'', - 'ApplyFunction' => '⁡', - 'approx' => '≈', - 'approxeq' => '≊', - 'Aring' => 'Å', - 'Arin' => 'Å', - 'aring' => 'å', - 'arin' => 'å', - 'Ascr' => '𝒜', - 'ascr' => '𝒶', - 'Assign' => '≔', - 'ast' => '*', - 'asymp' => '≈', - 'asympeq' => '≍', - 'Atilde' => 'Ã', - 'Atild' => 'Ã', - 'atilde' => 'ã', - 'atild' => 'ã', - 'Auml' => 'Ä', - 'Aum' => 'Ä', - 'auml' => 'ä', - 'aum' => 'ä', - 'awconint' => '∳', - 'awint' => '⨑', - 'backcong' => '≌', - 'backepsilon' => '϶', - 'backprime' => '‵', - 'backsim' => '∽', - 'backsimeq' => '⋍', - 'Backslash' => '∖', - 'Barv' => '⫧', - 'barvee' => '⊽', - 'Barwed' => '⌆', - 'barwed' => '⌅', - 'barwedge' => '⌅', - 'bbrk' => '⎵', - 'bbrktbrk' => '⎶', - 'bcong' => '≌', - 'Bcy' => 'Б', - 'bcy' => 'б', - 'bdquo' => '„', - 'becaus' => '∵', - 'Because' => '∵', - 'because' => '∵', - 'bemptyv' => '⦰', - 'bepsi' => '϶', - 'bernou' => 'ℬ', - 'Bernoullis' => 'ℬ', - 'Beta' => 'Β', - 'beta' => 'β', - 'beth' => 'ℶ', - 'between' => '≬', - 'Bfr' => '𝔅', - 'bfr' => '𝔟', - 'bigcap' => '⋂', - 'bigcirc' => '◯', - 'bigcup' => '⋃', - 'bigodot' => '⨀', - 'bigoplus' => '⨁', - 'bigotimes' => '⨂', - 'bigsqcup' => '⨆', - 'bigstar' => '★', - 'bigtriangledown' => '▽', - 'bigtriangleup' => '△', - 'biguplus' => '⨄', - 'bigvee' => '⋁', - 'bigwedge' => '⋀', - 'bkarow' => '⤍', - 'blacklozenge' => '⧫', - 'blacksquare' => '▪', - 'blacktriangle' => '▴', - 'blacktriangledown' => '▾', - 'blacktriangleleft' => '◂', - 'blacktriangleright' => '▸', - 'blank' => '␣', - 'blk12' => '▒', - 'blk14' => '░', - 'blk34' => '▓', - 'block' => '█', - 'bne' => '=⃥', - 'bnequiv' => '≡⃥', - 'bNot' => '⫭', - 'bnot' => '⌐', - 'Bopf' => '𝔹', - 'bopf' => '𝕓', - 'bot' => '⊥', - 'bottom' => '⊥', - 'bowtie' => '⋈', - 'boxbox' => '⧉', - 'boxDL' => '╗', - 'boxDl' => '╖', - 'boxdL' => '╕', - 'boxdl' => '┐', - 'boxDR' => '╔', - 'boxDr' => '╓', - 'boxdR' => '╒', - 'boxdr' => '┌', - 'boxH' => '═', - 'boxh' => '─', - 'boxHD' => '╦', - 'boxHd' => '╤', - 'boxhD' => '╥', - 'boxhd' => '┬', - 'boxHU' => '╩', - 'boxHu' => '╧', - 'boxhU' => '╨', - 'boxhu' => '┴', - 'boxminus' => '⊟', - 'boxplus' => '⊞', - 'boxtimes' => '⊠', - 'boxUL' => '╝', - 'boxUl' => '╜', - 'boxuL' => '╛', - 'boxul' => '┘', - 'boxUR' => '╚', - 'boxUr' => '╙', - 'boxuR' => '╘', - 'boxur' => '└', - 'boxV' => '║', - 'boxv' => '│', - 'boxVH' => '╬', - 'boxVh' => '╫', - 'boxvH' => '╪', - 'boxvh' => '┼', - 'boxVL' => '╣', - 'boxVl' => '╢', - 'boxvL' => '╡', - 'boxvl' => '┤', - 'boxVR' => '╠', - 'boxVr' => '╟', - 'boxvR' => '╞', - 'boxvr' => '├', - 'bprime' => '‵', - 'Breve' => '˘', - 'breve' => '˘', - 'brvbar' => '¦', - 'brvba' => '¦', - 'Bscr' => 'ℬ', - 'bscr' => '𝒷', - 'bsemi' => '⁏', - 'bsim' => '∽', - 'bsime' => '⋍', - 'bsol' => '\\', - 'bsolb' => '⧅', - 'bsolhsub' => '⟈', - 'bull' => '•', - 'bullet' => '•', - 'bump' => '≎', - 'bumpE' => '⪮', - 'bumpe' => '≏', - 'Bumpeq' => '≎', - 'bumpeq' => '≏', - 'Cacute' => 'Ć', - 'cacute' => 'ć', - 'Cap' => '⋒', - 'cap' => '∩', - 'capand' => '⩄', - 'capbrcup' => '⩉', - 'capcap' => '⩋', - 'capcup' => '⩇', - 'capdot' => '⩀', - 'CapitalDifferentialD' => 'ⅅ', - 'caps' => '∩︀', - 'caret' => '⁁', - 'caron' => 'ˇ', - 'Cayleys' => 'ℭ', - 'ccaps' => '⩍', - 'Ccaron' => 'Č', - 'ccaron' => 'č', - 'Ccedil' => 'Ç', - 'Ccedi' => 'Ç', - 'ccedil' => 'ç', - 'ccedi' => 'ç', - 'Ccirc' => 'Ĉ', - 'ccirc' => 'ĉ', - 'Cconint' => '∰', - 'ccups' => '⩌', - 'ccupssm' => '⩐', - 'Cdot' => 'Ċ', - 'cdot' => 'ċ', - 'cedil' => '¸', - 'cedi' => '¸', - 'Cedilla' => '¸', - 'cemptyv' => '⦲', - 'cent' => '¢', - 'cen' => '¢', - 'CenterDot' => '·', - 'centerdot' => '·', - 'Cfr' => 'ℭ', - 'cfr' => '𝔠', - 'CHcy' => 'Ч', - 'chcy' => 'ч', - 'check' => '✓', - 'checkmark' => '✓', - 'Chi' => 'Χ', - 'chi' => 'χ', - 'cir' => '○', - 'circ' => 'ˆ', - 'circeq' => '≗', - 'circlearrowleft' => '↺', - 'circlearrowright' => '↻', - 'circledast' => '⊛', - 'circledcirc' => '⊚', - 'circleddash' => '⊝', - 'CircleDot' => '⊙', - 'circledR' => '®', - 'circledS' => 'Ⓢ', - 'CircleMinus' => '⊖', - 'CirclePlus' => '⊕', - 'CircleTimes' => '⊗', - 'cirE' => '⧃', - 'cire' => '≗', - 'cirfnint' => '⨐', - 'cirmid' => '⫯', - 'cirscir' => '⧂', - 'ClockwiseContourIntegral' => '∲', - 'CloseCurlyDoubleQuote' => '”', - 'CloseCurlyQuote' => '’', - 'clubs' => '♣', - 'clubsuit' => '♣', - 'Colon' => '∷', - 'colon' => ':', - 'Colone' => '⩴', - 'colone' => '≔', - 'coloneq' => '≔', - 'comma' => ',', - 'commat' => '@', - 'comp' => '∁', - 'compfn' => '∘', - 'complement' => '∁', - 'complexes' => 'ℂ', - 'cong' => '≅', - 'congdot' => '⩭', - 'Congruent' => '≡', - 'Conint' => '∯', - 'conint' => '∮', - 'ContourIntegral' => '∮', - 'Copf' => 'ℂ', - 'copf' => '𝕔', - 'coprod' => '∐', - 'Coproduct' => '∐', - 'COPY' => '©', - 'COP' => '©', - 'copy' => '©', - 'cop' => '©', - 'copysr' => '℗', + 'Aacute' => 'Á', + 'Aacut' => 'Á', + 'aacute' => 'á', + 'aacut' => 'á', + 'Abreve' => 'Ă', + 'abreve' => 'ă', + 'ac' => '∾', + 'acd' => '∿', + 'acE' => '∾̳', + 'Acirc' => 'Â', + 'Acir' => 'Â', + 'acirc' => 'â', + 'acir' => 'â', + 'acute' => '´', + 'acut' => '´', + 'Acy' => 'А', + 'acy' => 'а', + 'AElig' => 'Æ', + 'AEli' => 'Æ', + 'aelig' => 'æ', + 'aeli' => 'æ', + 'af' => '⁡', + 'Afr' => '𝔄', + 'afr' => '𝔞', + 'Agrave' => 'À', + 'Agrav' => 'À', + 'agrave' => 'à', + 'agrav' => 'à', + 'alefsym' => 'ℵ', + 'aleph' => 'ℵ', + 'Alpha' => 'Α', + 'alpha' => 'α', + 'Amacr' => 'Ā', + 'amacr' => 'ā', + 'amalg' => '⨿', + 'AMP' => '&', + 'AM' => '&', + 'amp' => '&', + 'am' => '&', + 'And' => '⩓', + 'and' => '∧', + 'andand' => '⩕', + 'andd' => '⩜', + 'andslope' => '⩘', + 'andv' => '⩚', + 'ang' => '∠', + 'ange' => '⦤', + 'angle' => '∠', + 'angmsd' => '∡', + 'angmsdaa' => '⦨', + 'angmsdab' => '⦩', + 'angmsdac' => '⦪', + 'angmsdad' => '⦫', + 'angmsdae' => '⦬', + 'angmsdaf' => '⦭', + 'angmsdag' => '⦮', + 'angmsdah' => '⦯', + 'angrt' => '∟', + 'angrtvb' => '⊾', + 'angrtvbd' => '⦝', + 'angsph' => '∢', + 'angst' => 'Å', + 'angzarr' => '⍼', + 'Aogon' => 'Ą', + 'aogon' => 'ą', + 'Aopf' => '𝔸', + 'aopf' => '𝕒', + 'ap' => '≈', + 'apacir' => '⩯', + 'apE' => '⩰', + 'ape' => '≊', + 'apid' => '≋', + 'apos' => '\'', + 'ApplyFunction' => '⁡', + 'approx' => '≈', + 'approxeq' => '≊', + 'Aring' => 'Å', + 'Arin' => 'Å', + 'aring' => 'å', + 'arin' => 'å', + 'Ascr' => '𝒜', + 'ascr' => '𝒶', + 'Assign' => '≔', + 'ast' => '*', + 'asymp' => '≈', + 'asympeq' => '≍', + 'Atilde' => 'Ã', + 'Atild' => 'Ã', + 'atilde' => 'ã', + 'atild' => 'ã', + 'Auml' => 'Ä', + 'Aum' => 'Ä', + 'auml' => 'ä', + 'aum' => 'ä', + 'awconint' => '∳', + 'awint' => '⨑', + 'backcong' => '≌', + 'backepsilon' => '϶', + 'backprime' => '‵', + 'backsim' => '∽', + 'backsimeq' => '⋍', + 'Backslash' => '∖', + 'Barv' => '⫧', + 'barvee' => '⊽', + 'Barwed' => '⌆', + 'barwed' => '⌅', + 'barwedge' => '⌅', + 'bbrk' => '⎵', + 'bbrktbrk' => '⎶', + 'bcong' => '≌', + 'Bcy' => 'Б', + 'bcy' => 'б', + 'bdquo' => '„', + 'becaus' => '∵', + 'Because' => '∵', + 'because' => '∵', + 'bemptyv' => '⦰', + 'bepsi' => '϶', + 'bernou' => 'ℬ', + 'Bernoullis' => 'ℬ', + 'Beta' => 'Β', + 'beta' => 'β', + 'beth' => 'ℶ', + 'between' => '≬', + 'Bfr' => '𝔅', + 'bfr' => '𝔟', + 'bigcap' => '⋂', + 'bigcirc' => '◯', + 'bigcup' => '⋃', + 'bigodot' => '⨀', + 'bigoplus' => '⨁', + 'bigotimes' => '⨂', + 'bigsqcup' => '⨆', + 'bigstar' => '★', + 'bigtriangledown' => '▽', + 'bigtriangleup' => '△', + 'biguplus' => '⨄', + 'bigvee' => '⋁', + 'bigwedge' => '⋀', + 'bkarow' => '⤍', + 'blacklozenge' => '⧫', + 'blacksquare' => '▪', + 'blacktriangle' => '▴', + 'blacktriangledown' => '▾', + 'blacktriangleleft' => '◂', + 'blacktriangleright' => '▸', + 'blank' => '␣', + 'blk12' => '▒', + 'blk14' => '░', + 'blk34' => '▓', + 'block' => '█', + 'bne' => '=⃥', + 'bnequiv' => '≡⃥', + 'bNot' => '⫭', + 'bnot' => '⌐', + 'Bopf' => '𝔹', + 'bopf' => '𝕓', + 'bot' => '⊥', + 'bottom' => '⊥', + 'bowtie' => '⋈', + 'boxbox' => '⧉', + 'boxDL' => '╗', + 'boxDl' => '╖', + 'boxdL' => '╕', + 'boxdl' => '┐', + 'boxDR' => '╔', + 'boxDr' => '╓', + 'boxdR' => '╒', + 'boxdr' => '┌', + 'boxH' => '═', + 'boxh' => '─', + 'boxHD' => '╦', + 'boxHd' => '╤', + 'boxhD' => '╥', + 'boxhd' => '┬', + 'boxHU' => '╩', + 'boxHu' => '╧', + 'boxhU' => '╨', + 'boxhu' => '┴', + 'boxminus' => '⊟', + 'boxplus' => '⊞', + 'boxtimes' => '⊠', + 'boxUL' => '╝', + 'boxUl' => '╜', + 'boxuL' => '╛', + 'boxul' => '┘', + 'boxUR' => '╚', + 'boxUr' => '╙', + 'boxuR' => '╘', + 'boxur' => '└', + 'boxV' => '║', + 'boxv' => '│', + 'boxVH' => '╬', + 'boxVh' => '╫', + 'boxvH' => '╪', + 'boxvh' => '┼', + 'boxVL' => '╣', + 'boxVl' => '╢', + 'boxvL' => '╡', + 'boxvl' => '┤', + 'boxVR' => '╠', + 'boxVr' => '╟', + 'boxvR' => '╞', + 'boxvr' => '├', + 'bprime' => '‵', + 'Breve' => '˘', + 'breve' => '˘', + 'brvbar' => '¦', + 'brvba' => '¦', + 'Bscr' => 'ℬ', + 'bscr' => '𝒷', + 'bsemi' => '⁏', + 'bsim' => '∽', + 'bsime' => '⋍', + 'bsol' => '\\', + 'bsolb' => '⧅', + 'bsolhsub' => '⟈', + 'bull' => '•', + 'bullet' => '•', + 'bump' => '≎', + 'bumpE' => '⪮', + 'bumpe' => '≏', + 'Bumpeq' => '≎', + 'bumpeq' => '≏', + 'Cacute' => 'Ć', + 'cacute' => 'ć', + 'Cap' => '⋒', + 'cap' => '∩', + 'capand' => '⩄', + 'capbrcup' => '⩉', + 'capcap' => '⩋', + 'capcup' => '⩇', + 'capdot' => '⩀', + 'CapitalDifferentialD' => 'ⅅ', + 'caps' => '∩︀', + 'caret' => '⁁', + 'caron' => 'ˇ', + 'Cayleys' => 'ℭ', + 'ccaps' => '⩍', + 'Ccaron' => 'Č', + 'ccaron' => 'č', + 'Ccedil' => 'Ç', + 'Ccedi' => 'Ç', + 'ccedil' => 'ç', + 'ccedi' => 'ç', + 'Ccirc' => 'Ĉ', + 'ccirc' => 'ĉ', + 'Cconint' => '∰', + 'ccups' => '⩌', + 'ccupssm' => '⩐', + 'Cdot' => 'Ċ', + 'cdot' => 'ċ', + 'cedil' => '¸', + 'cedi' => '¸', + 'Cedilla' => '¸', + 'cemptyv' => '⦲', + 'cent' => '¢', + 'cen' => '¢', + 'CenterDot' => '·', + 'centerdot' => '·', + 'Cfr' => 'ℭ', + 'cfr' => '𝔠', + 'CHcy' => 'Ч', + 'chcy' => 'ч', + 'check' => '✓', + 'checkmark' => '✓', + 'Chi' => 'Χ', + 'chi' => 'χ', + 'cir' => '○', + 'circ' => 'ˆ', + 'circeq' => '≗', + 'circlearrowleft' => '↺', + 'circlearrowright' => '↻', + 'circledast' => '⊛', + 'circledcirc' => '⊚', + 'circleddash' => '⊝', + 'CircleDot' => '⊙', + 'circledR' => '®', + 'circledS' => 'Ⓢ', + 'CircleMinus' => '⊖', + 'CirclePlus' => '⊕', + 'CircleTimes' => '⊗', + 'cirE' => '⧃', + 'cire' => '≗', + 'cirfnint' => '⨐', + 'cirmid' => '⫯', + 'cirscir' => '⧂', + 'ClockwiseContourIntegral' => '∲', + 'CloseCurlyDoubleQuote' => '”', + 'CloseCurlyQuote' => '’', + 'clubs' => '♣', + 'clubsuit' => '♣', + 'Colon' => '∷', + 'colon' => ':', + 'Colone' => '⩴', + 'colone' => '≔', + 'coloneq' => '≔', + 'comma' => ',', + 'commat' => '@', + 'comp' => '∁', + 'compfn' => '∘', + 'complement' => '∁', + 'complexes' => 'ℂ', + 'cong' => '≅', + 'congdot' => '⩭', + 'Congruent' => '≡', + 'Conint' => '∯', + 'conint' => '∮', + 'ContourIntegral' => '∮', + 'Copf' => 'ℂ', + 'copf' => '𝕔', + 'coprod' => '∐', + 'Coproduct' => '∐', + 'COPY' => '©', + 'COP' => '©', + 'copy' => '©', + 'cop' => '©', + 'copysr' => '℗', 'CounterClockwiseContourIntegral' => '∳', - 'crarr' => '↵', - 'Cross' => '⨯', - 'cross' => '✗', - 'Cscr' => '𝒞', - 'cscr' => '𝒸', - 'csub' => '⫏', - 'csube' => '⫑', - 'csup' => '⫐', - 'csupe' => '⫒', - 'ctdot' => '⋯', - 'cudarrl' => '⤸', - 'cudarrr' => '⤵', - 'cuepr' => '⋞', - 'cuesc' => '⋟', - 'cularr' => '↶', - 'cularrp' => '⤽', - 'Cup' => '⋓', - 'cup' => '∪', - 'cupbrcap' => '⩈', - 'CupCap' => '≍', - 'cupcap' => '⩆', - 'cupcup' => '⩊', - 'cupdot' => '⊍', - 'cupor' => '⩅', - 'cups' => '∪︀', - 'curarr' => '↷', - 'curarrm' => '⤼', - 'curlyeqprec' => '⋞', - 'curlyeqsucc' => '⋟', - 'curlyvee' => '⋎', - 'curlywedge' => '⋏', - 'curren' => '¤', - 'curre' => '¤', - 'curvearrowleft' => '↶', - 'curvearrowright' => '↷', - 'cuvee' => '⋎', - 'cuwed' => '⋏', - 'cwconint' => '∲', - 'cwint' => '∱', - 'cylcty' => '⌭', - 'Dagger' => '‡', - 'dagger' => '†', - 'daleth' => 'ℸ', - 'Darr' => '↡', - 'dArr' => '⇓', - 'darr' => '↓', - 'dash' => '‐', - 'Dashv' => '⫤', - 'dashv' => '⊣', - 'dbkarow' => '⤏', - 'dblac' => '˝', - 'Dcaron' => 'Ď', - 'dcaron' => 'ď', - 'Dcy' => 'Д', - 'dcy' => 'д', - 'DD' => 'ⅅ', - 'dd' => 'ⅆ', - 'ddagger' => '‡', - 'ddarr' => '⇊', - 'DDotrahd' => '⤑', - 'ddotseq' => '⩷', - 'deg' => '°', - 'de' => '°', - 'Del' => '∇', - 'Delta' => 'Δ', - 'delta' => 'δ', - 'demptyv' => '⦱', - 'dfisht' => '⥿', - 'Dfr' => '𝔇', - 'dfr' => '𝔡', - 'dHar' => '⥥', - 'dharl' => '⇃', - 'dharr' => '⇂', - 'DiacriticalAcute' => '´', - 'DiacriticalDot' => '˙', - 'DiacriticalDoubleAcute' => '˝', - 'DiacriticalGrave' => '`', - 'DiacriticalTilde' => '˜', - 'diam' => '⋄', - 'Diamond' => '⋄', - 'diamond' => '⋄', - 'diamondsuit' => '♦', - 'diams' => '♦', - 'die' => '¨', - 'DifferentialD' => 'ⅆ', - 'digamma' => 'ϝ', - 'disin' => '⋲', - 'div' => '÷', - 'divide' => '÷', - 'divid' => '÷', - 'divideontimes' => '⋇', - 'divonx' => '⋇', - 'DJcy' => 'Ђ', - 'djcy' => 'ђ', - 'dlcorn' => '⌞', - 'dlcrop' => '⌍', - 'dollar' => '$', - 'Dopf' => '𝔻', - 'dopf' => '𝕕', - 'Dot' => '¨', - 'dot' => '˙', - 'DotDot' => '⃜', - 'doteq' => '≐', - 'doteqdot' => '≑', - 'DotEqual' => '≐', - 'dotminus' => '∸', - 'dotplus' => '∔', - 'dotsquare' => '⊡', - 'doublebarwedge' => '⌆', - 'DoubleContourIntegral' => '∯', - 'DoubleDot' => '¨', - 'DoubleDownArrow' => '⇓', - 'DoubleLeftArrow' => '⇐', - 'DoubleLeftRightArrow' => '⇔', - 'DoubleLeftTee' => '⫤', - 'DoubleLongLeftArrow' => '⟸', - 'DoubleLongLeftRightArrow' => '⟺', - 'DoubleLongRightArrow' => '⟹', - 'DoubleRightArrow' => '⇒', - 'DoubleRightTee' => '⊨', - 'DoubleUpArrow' => '⇑', - 'DoubleUpDownArrow' => '⇕', - 'DoubleVerticalBar' => '∥', - 'DownArrow' => '↓', - 'Downarrow' => '⇓', - 'downarrow' => '↓', - 'DownArrowBar' => '⤓', - 'DownArrowUpArrow' => '⇵', - 'DownBreve' => '̑', - 'downdownarrows' => '⇊', - 'downharpoonleft' => '⇃', - 'downharpoonright' => '⇂', - 'DownLeftRightVector' => '⥐', - 'DownLeftTeeVector' => '⥞', - 'DownLeftVector' => '↽', - 'DownLeftVectorBar' => '⥖', - 'DownRightTeeVector' => '⥟', - 'DownRightVector' => '⇁', - 'DownRightVectorBar' => '⥗', - 'DownTee' => '⊤', - 'DownTeeArrow' => '↧', - 'drbkarow' => '⤐', - 'drcorn' => '⌟', - 'drcrop' => '⌌', - 'Dscr' => '𝒟', - 'dscr' => '𝒹', - 'DScy' => 'Ѕ', - 'dscy' => 'ѕ', - 'dsol' => '⧶', - 'Dstrok' => 'Đ', - 'dstrok' => 'đ', - 'dtdot' => '⋱', - 'dtri' => '▿', - 'dtrif' => '▾', - 'duarr' => '⇵', - 'duhar' => '⥯', - 'dwangle' => '⦦', - 'DZcy' => 'Џ', - 'dzcy' => 'џ', - 'dzigrarr' => '⟿', - 'Eacute' => 'É', - 'Eacut' => 'É', - 'eacute' => 'é', - 'eacut' => 'é', - 'easter' => '⩮', - 'Ecaron' => 'Ě', - 'ecaron' => 'ě', - 'ecir' => 'ê', - 'Ecirc' => 'Ê', - 'Ecir' => 'Ê', - 'ecirc' => 'ê', - 'ecolon' => '≕', - 'Ecy' => 'Э', - 'ecy' => 'э', - 'eDDot' => '⩷', - 'Edot' => 'Ė', - 'eDot' => '≑', - 'edot' => 'ė', - 'ee' => 'ⅇ', - 'efDot' => '≒', - 'Efr' => '𝔈', - 'efr' => '𝔢', - 'eg' => '⪚', - 'Egrave' => 'È', - 'Egrav' => 'È', - 'egrave' => 'è', - 'egrav' => 'è', - 'egs' => '⪖', - 'egsdot' => '⪘', - 'el' => '⪙', - 'Element' => '∈', - 'elinters' => '⏧', - 'ell' => 'ℓ', - 'els' => '⪕', - 'elsdot' => '⪗', - 'Emacr' => 'Ē', - 'emacr' => 'ē', - 'empty' => '∅', - 'emptyset' => '∅', - 'EmptySmallSquare' => '◻', - 'emptyv' => '∅', - 'EmptyVerySmallSquare' => '▫', - 'emsp' => ' ', - 'emsp13' => ' ', - 'emsp14' => ' ', - 'ENG' => 'Ŋ', - 'eng' => 'ŋ', - 'ensp' => ' ', - 'Eogon' => 'Ę', - 'eogon' => 'ę', - 'Eopf' => '𝔼', - 'eopf' => '𝕖', - 'epar' => '⋕', - 'eparsl' => '⧣', - 'eplus' => '⩱', - 'epsi' => 'ε', - 'Epsilon' => 'Ε', - 'epsilon' => 'ε', - 'epsiv' => 'ϵ', - 'eqcirc' => '≖', - 'eqcolon' => '≕', - 'eqsim' => '≂', - 'eqslantgtr' => '⪖', - 'eqslantless' => '⪕', - 'Equal' => '⩵', - 'equals' => '=', - 'EqualTilde' => '≂', - 'equest' => '≟', - 'Equilibrium' => '⇌', - 'equiv' => '≡', - 'equivDD' => '⩸', - 'eqvparsl' => '⧥', - 'erarr' => '⥱', - 'erDot' => '≓', - 'Escr' => 'ℰ', - 'escr' => 'ℯ', - 'esdot' => '≐', - 'Esim' => '⩳', - 'esim' => '≂', - 'Eta' => 'Η', - 'eta' => 'η', - 'ETH' => 'Ð', - 'ET' => 'Ð', - 'eth' => 'ð', - 'et' => 'ð', - 'Euml' => 'Ë', - 'Eum' => 'Ë', - 'euml' => 'ë', - 'eum' => 'ë', - 'euro' => '€', - 'excl' => '!', - 'exist' => '∃', - 'Exists' => '∃', - 'expectation' => 'ℰ', - 'ExponentialE' => 'ⅇ', - 'exponentiale' => 'ⅇ', - 'fallingdotseq' => '≒', - 'Fcy' => 'Ф', - 'fcy' => 'ф', - 'female' => '♀', - 'ffilig' => 'ffi', - 'fflig' => 'ff', - 'ffllig' => 'ffl', - 'Ffr' => '𝔉', - 'ffr' => '𝔣', - 'filig' => 'fi', - 'FilledSmallSquare' => '◼', - 'FilledVerySmallSquare' => '▪', - 'fjlig' => 'fj', - 'flat' => '♭', - 'fllig' => 'fl', - 'fltns' => '▱', - 'fnof' => 'ƒ', - 'Fopf' => '𝔽', - 'fopf' => '𝕗', - 'ForAll' => '∀', - 'forall' => '∀', - 'fork' => '⋔', - 'forkv' => '⫙', - 'Fouriertrf' => 'ℱ', - 'fpartint' => '⨍', - 'frac12' => '½', - 'frac1' => '¼', - 'frac13' => '⅓', - 'frac14' => '¼', - 'frac15' => '⅕', - 'frac16' => '⅙', - 'frac18' => '⅛', - 'frac23' => '⅔', - 'frac25' => '⅖', - 'frac34' => '¾', - 'frac3' => '¾', - 'frac35' => '⅗', - 'frac38' => '⅜', - 'frac45' => '⅘', - 'frac56' => '⅚', - 'frac58' => '⅝', - 'frac78' => '⅞', - 'frasl' => '⁄', - 'frown' => '⌢', - 'Fscr' => 'ℱ', - 'fscr' => '𝒻', - 'gacute' => 'ǵ', - 'Gamma' => 'Γ', - 'gamma' => 'γ', - 'Gammad' => 'Ϝ', - 'gammad' => 'ϝ', - 'gap' => '⪆', - 'Gbreve' => 'Ğ', - 'gbreve' => 'ğ', - 'Gcedil' => 'Ģ', - 'Gcirc' => 'Ĝ', - 'gcirc' => 'ĝ', - 'Gcy' => 'Г', - 'gcy' => 'г', - 'Gdot' => 'Ġ', - 'gdot' => 'ġ', - 'gE' => '≧', - 'ge' => '≥', - 'gEl' => '⪌', - 'gel' => '⋛', - 'geq' => '≥', - 'geqq' => '≧', - 'geqslant' => '⩾', - 'ges' => '⩾', - 'gescc' => '⪩', - 'gesdot' => '⪀', - 'gesdoto' => '⪂', - 'gesdotol' => '⪄', - 'gesl' => '⋛︀', - 'gesles' => '⪔', - 'Gfr' => '𝔊', - 'gfr' => '𝔤', - 'Gg' => '⋙', - 'gg' => '≫', - 'ggg' => '⋙', - 'gimel' => 'ℷ', - 'GJcy' => 'Ѓ', - 'gjcy' => 'ѓ', - 'gl' => '≷', - 'gla' => '⪥', - 'glE' => '⪒', - 'glj' => '⪤', - 'gnap' => '⪊', - 'gnapprox' => '⪊', - 'gnE' => '≩', - 'gne' => '⪈', - 'gneq' => '⪈', - 'gneqq' => '≩', - 'gnsim' => '⋧', - 'Gopf' => '𝔾', - 'gopf' => '𝕘', - 'grave' => '`', - 'GreaterEqual' => '≥', - 'GreaterEqualLess' => '⋛', - 'GreaterFullEqual' => '≧', - 'GreaterGreater' => '⪢', - 'GreaterLess' => '≷', - 'GreaterSlantEqual' => '⩾', - 'GreaterTilde' => '≳', - 'Gscr' => '𝒢', - 'gscr' => 'ℊ', - 'gsim' => '≳', - 'gsime' => '⪎', - 'gsiml' => '⪐', - 'GT' => '>', - 'G' => '>', - 'Gt' => '≫', - 'gt' => '>', - 'g' => '>', - 'gtcc' => '⪧', - 'gtcir' => '⩺', - 'gtdot' => '⋗', - 'gtlPar' => '⦕', - 'gtquest' => '⩼', - 'gtrapprox' => '⪆', - 'gtrarr' => '⥸', - 'gtrdot' => '⋗', - 'gtreqless' => '⋛', - 'gtreqqless' => '⪌', - 'gtrless' => '≷', - 'gtrsim' => '≳', - 'gvertneqq' => '≩︀', - 'gvnE' => '≩︀', - 'Hacek' => 'ˇ', - 'hairsp' => ' ', - 'half' => '½', - 'hamilt' => 'ℋ', - 'HARDcy' => 'Ъ', - 'hardcy' => 'ъ', - 'hArr' => '⇔', - 'harr' => '↔', - 'harrcir' => '⥈', - 'harrw' => '↭', - 'Hat' => '^', - 'hbar' => 'ℏ', - 'Hcirc' => 'Ĥ', - 'hcirc' => 'ĥ', - 'hearts' => '♥', - 'heartsuit' => '♥', - 'hellip' => '…', - 'hercon' => '⊹', - 'Hfr' => 'ℌ', - 'hfr' => '𝔥', - 'HilbertSpace' => 'ℋ', - 'hksearow' => '⤥', - 'hkswarow' => '⤦', - 'hoarr' => '⇿', - 'homtht' => '∻', - 'hookleftarrow' => '↩', - 'hookrightarrow' => '↪', - 'Hopf' => 'ℍ', - 'hopf' => '𝕙', - 'horbar' => '―', - 'HorizontalLine' => '─', - 'Hscr' => 'ℋ', - 'hscr' => '𝒽', - 'hslash' => 'ℏ', - 'Hstrok' => 'Ħ', - 'hstrok' => 'ħ', - 'HumpDownHump' => '≎', - 'HumpEqual' => '≏', - 'hybull' => '⁃', - 'hyphen' => '‐', - 'Iacute' => 'Í', - 'Iacut' => 'Í', - 'iacute' => 'í', - 'iacut' => 'í', - 'ic' => '⁣', - 'Icirc' => 'Î', - 'Icir' => 'Î', - 'icirc' => 'î', - 'icir' => 'î', - 'Icy' => 'И', - 'icy' => 'и', - 'Idot' => 'İ', - 'IEcy' => 'Е', - 'iecy' => 'е', - 'iexcl' => '¡', - 'iexc' => '¡', - 'iff' => '⇔', - 'Ifr' => 'ℑ', - 'ifr' => '𝔦', - 'Igrave' => 'Ì', - 'Igrav' => 'Ì', - 'igrave' => 'ì', - 'igrav' => 'ì', - 'ii' => 'ⅈ', - 'iiiint' => '⨌', - 'iiint' => '∭', - 'iinfin' => '⧜', - 'iiota' => '℩', - 'IJlig' => 'IJ', - 'ijlig' => 'ij', - 'Im' => 'ℑ', - 'Imacr' => 'Ī', - 'imacr' => 'ī', - 'image' => 'ℑ', - 'ImaginaryI' => 'ⅈ', - 'imagline' => 'ℐ', - 'imagpart' => 'ℑ', - 'imath' => 'ı', - 'imof' => '⊷', - 'imped' => 'Ƶ', - 'Implies' => '⇒', - 'in' => '∈', - 'incare' => '℅', - 'infin' => '∞', - 'infintie' => '⧝', - 'inodot' => 'ı', - 'Int' => '∬', - 'int' => '∫', - 'intcal' => '⊺', - 'integers' => 'ℤ', - 'Integral' => '∫', - 'intercal' => '⊺', - 'Intersection' => '⋂', - 'intlarhk' => '⨗', - 'intprod' => '⨼', - 'InvisibleComma' => '⁣', - 'InvisibleTimes' => '⁢', - 'IOcy' => 'Ё', - 'iocy' => 'ё', - 'Iogon' => 'Į', - 'iogon' => 'į', - 'Iopf' => '𝕀', - 'iopf' => '𝕚', - 'Iota' => 'Ι', - 'iota' => 'ι', - 'iprod' => '⨼', - 'iquest' => '¿', - 'iques' => '¿', - 'Iscr' => 'ℐ', - 'iscr' => '𝒾', - 'isin' => '∈', - 'isindot' => '⋵', - 'isinE' => '⋹', - 'isins' => '⋴', - 'isinsv' => '⋳', - 'isinv' => '∈', - 'it' => '⁢', - 'Itilde' => 'Ĩ', - 'itilde' => 'ĩ', - 'Iukcy' => 'І', - 'iukcy' => 'і', - 'Iuml' => 'Ï', - 'Ium' => 'Ï', - 'iuml' => 'ï', - 'ium' => 'ï', - 'Jcirc' => 'Ĵ', - 'jcirc' => 'ĵ', - 'Jcy' => 'Й', - 'jcy' => 'й', - 'Jfr' => '𝔍', - 'jfr' => '𝔧', - 'jmath' => 'ȷ', - 'Jopf' => '𝕁', - 'jopf' => '𝕛', - 'Jscr' => '𝒥', - 'jscr' => '𝒿', - 'Jsercy' => 'Ј', - 'jsercy' => 'ј', - 'Jukcy' => 'Є', - 'jukcy' => 'є', - 'Kappa' => 'Κ', - 'kappa' => 'κ', - 'kappav' => 'ϰ', - 'Kcedil' => 'Ķ', - 'kcedil' => 'ķ', - 'Kcy' => 'К', - 'kcy' => 'к', - 'Kfr' => '𝔎', - 'kfr' => '𝔨', - 'kgreen' => 'ĸ', - 'KHcy' => 'Х', - 'khcy' => 'х', - 'KJcy' => 'Ќ', - 'kjcy' => 'ќ', - 'Kopf' => '𝕂', - 'kopf' => '𝕜', - 'Kscr' => '𝒦', - 'kscr' => '𝓀', - 'lAarr' => '⇚', - 'Lacute' => 'Ĺ', - 'lacute' => 'ĺ', - 'laemptyv' => '⦴', - 'lagran' => 'ℒ', - 'Lambda' => 'Λ', - 'lambda' => 'λ', - 'Lang' => '⟪', - 'lang' => '⟨', - 'langd' => '⦑', - 'langle' => '⟨', - 'lap' => '⪅', - 'Laplacetrf' => 'ℒ', - 'laquo' => '«', - 'laqu' => '«', - 'Larr' => '↞', - 'lArr' => '⇐', - 'larr' => '←', - 'larrb' => '⇤', - 'larrbfs' => '⤟', - 'larrfs' => '⤝', - 'larrhk' => '↩', - 'larrlp' => '↫', - 'larrpl' => '⤹', - 'larrsim' => '⥳', - 'larrtl' => '↢', - 'lat' => '⪫', - 'lAtail' => '⤛', - 'latail' => '⤙', - 'late' => '⪭', - 'lates' => '⪭︀', - 'lBarr' => '⤎', - 'lbarr' => '⤌', - 'lbbrk' => '❲', - 'lbrace' => '{', - 'lbrack' => '[', - 'lbrke' => '⦋', - 'lbrksld' => '⦏', - 'lbrkslu' => '⦍', - 'Lcaron' => 'Ľ', - 'lcaron' => 'ľ', - 'Lcedil' => 'Ļ', - 'lcedil' => 'ļ', - 'lceil' => '⌈', - 'lcub' => '{', - 'Lcy' => 'Л', - 'lcy' => 'л', - 'ldca' => '⤶', - 'ldquo' => '“', - 'ldquor' => '„', - 'ldrdhar' => '⥧', - 'ldrushar' => '⥋', - 'ldsh' => '↲', - 'lE' => '≦', - 'le' => '≤', - 'LeftAngleBracket' => '⟨', - 'LeftArrow' => '←', - 'Leftarrow' => '⇐', - 'leftarrow' => '←', - 'LeftArrowBar' => '⇤', - 'LeftArrowRightArrow' => '⇆', - 'leftarrowtail' => '↢', - 'LeftCeiling' => '⌈', - 'LeftDoubleBracket' => '⟦', - 'LeftDownTeeVector' => '⥡', - 'LeftDownVector' => '⇃', - 'LeftDownVectorBar' => '⥙', - 'LeftFloor' => '⌊', - 'leftharpoondown' => '↽', - 'leftharpoonup' => '↼', - 'leftleftarrows' => '⇇', - 'LeftRightArrow' => '↔', - 'Leftrightarrow' => '⇔', - 'leftrightarrow' => '↔', - 'leftrightarrows' => '⇆', - 'leftrightharpoons' => '⇋', - 'leftrightsquigarrow' => '↭', - 'LeftRightVector' => '⥎', - 'LeftTee' => '⊣', - 'LeftTeeArrow' => '↤', - 'LeftTeeVector' => '⥚', - 'leftthreetimes' => '⋋', - 'LeftTriangle' => '⊲', - 'LeftTriangleBar' => '⧏', - 'LeftTriangleEqual' => '⊴', - 'LeftUpDownVector' => '⥑', - 'LeftUpTeeVector' => '⥠', - 'LeftUpVector' => '↿', - 'LeftUpVectorBar' => '⥘', - 'LeftVector' => '↼', - 'LeftVectorBar' => '⥒', - 'lEg' => '⪋', - 'leg' => '⋚', - 'leq' => '≤', - 'leqq' => '≦', - 'leqslant' => '⩽', - 'les' => '⩽', - 'lescc' => '⪨', - 'lesdot' => '⩿', - 'lesdoto' => '⪁', - 'lesdotor' => '⪃', - 'lesg' => '⋚︀', - 'lesges' => '⪓', - 'lessapprox' => '⪅', - 'lessdot' => '⋖', - 'lesseqgtr' => '⋚', - 'lesseqqgtr' => '⪋', - 'LessEqualGreater' => '⋚', - 'LessFullEqual' => '≦', - 'LessGreater' => '≶', - 'lessgtr' => '≶', - 'LessLess' => '⪡', - 'lesssim' => '≲', - 'LessSlantEqual' => '⩽', - 'LessTilde' => '≲', - 'lfisht' => '⥼', - 'lfloor' => '⌊', - 'Lfr' => '𝔏', - 'lfr' => '𝔩', - 'lg' => '≶', - 'lgE' => '⪑', - 'lHar' => '⥢', - 'lhard' => '↽', - 'lharu' => '↼', - 'lharul' => '⥪', - 'lhblk' => '▄', - 'LJcy' => 'Љ', - 'ljcy' => 'љ', - 'Ll' => '⋘', - 'll' => '≪', - 'llarr' => '⇇', - 'llcorner' => '⌞', - 'Lleftarrow' => '⇚', - 'llhard' => '⥫', - 'lltri' => '◺', - 'Lmidot' => 'Ŀ', - 'lmidot' => 'ŀ', - 'lmoust' => '⎰', - 'lmoustache' => '⎰', - 'lnap' => '⪉', - 'lnapprox' => '⪉', - 'lnE' => '≨', - 'lne' => '⪇', - 'lneq' => '⪇', - 'lneqq' => '≨', - 'lnsim' => '⋦', - 'loang' => '⟬', - 'loarr' => '⇽', - 'lobrk' => '⟦', - 'LongLeftArrow' => '⟵', - 'Longleftarrow' => '⟸', - 'longleftarrow' => '⟵', - 'LongLeftRightArrow' => '⟷', - 'Longleftrightarrow' => '⟺', - 'longleftrightarrow' => '⟷', - 'longmapsto' => '⟼', - 'LongRightArrow' => '⟶', - 'Longrightarrow' => '⟹', - 'longrightarrow' => '⟶', - 'looparrowleft' => '↫', - 'looparrowright' => '↬', - 'lopar' => '⦅', - 'Lopf' => '𝕃', - 'lopf' => '𝕝', - 'loplus' => '⨭', - 'lotimes' => '⨴', - 'lowast' => '∗', - 'lowbar' => '_', - 'LowerLeftArrow' => '↙', - 'LowerRightArrow' => '↘', - 'loz' => '◊', - 'lozenge' => '◊', - 'lozf' => '⧫', - 'lpar' => '(', - 'lparlt' => '⦓', - 'lrarr' => '⇆', - 'lrcorner' => '⌟', - 'lrhar' => '⇋', - 'lrhard' => '⥭', - 'lrm' => '‎', - 'lrtri' => '⊿', - 'lsaquo' => '‹', - 'Lscr' => 'ℒ', - 'lscr' => '𝓁', - 'Lsh' => '↰', - 'lsh' => '↰', - 'lsim' => '≲', - 'lsime' => '⪍', - 'lsimg' => '⪏', - 'lsqb' => '[', - 'lsquo' => '‘', - 'lsquor' => '‚', - 'Lstrok' => 'Ł', - 'lstrok' => 'ł', - 'LT' => '<', - 'L' => '<', - 'Lt' => '≪', - 'lt' => '<', - 'l' => '<', - 'ltcc' => '⪦', - 'ltcir' => '⩹', - 'ltdot' => '⋖', - 'lthree' => '⋋', - 'ltimes' => '⋉', - 'ltlarr' => '⥶', - 'ltquest' => '⩻', - 'ltri' => '◃', - 'ltrie' => '⊴', - 'ltrif' => '◂', - 'ltrPar' => '⦖', - 'lurdshar' => '⥊', - 'luruhar' => '⥦', - 'lvertneqq' => '≨︀', - 'lvnE' => '≨︀', - 'macr' => '¯', - 'mac' => '¯', - 'male' => '♂', - 'malt' => '✠', - 'maltese' => '✠', - 'Map' => '⤅', - 'map' => '↦', - 'mapsto' => '↦', - 'mapstodown' => '↧', - 'mapstoleft' => '↤', - 'mapstoup' => '↥', - 'marker' => '▮', - 'mcomma' => '⨩', - 'Mcy' => 'М', - 'mcy' => 'м', - 'mdash' => '—', - 'mDDot' => '∺', - 'measuredangle' => '∡', - 'MediumSpace' => ' ', - 'Mellintrf' => 'ℳ', - 'Mfr' => '𝔐', - 'mfr' => '𝔪', - 'mho' => '℧', - 'micro' => 'µ', - 'micr' => 'µ', - 'mid' => '∣', - 'midast' => '*', - 'midcir' => '⫰', - 'middot' => '·', - 'middo' => '·', - 'minus' => '−', - 'minusb' => '⊟', - 'minusd' => '∸', - 'minusdu' => '⨪', - 'MinusPlus' => '∓', - 'mlcp' => '⫛', - 'mldr' => '…', - 'mnplus' => '∓', - 'models' => '⊧', - 'Mopf' => '𝕄', - 'mopf' => '𝕞', - 'mp' => '∓', - 'Mscr' => 'ℳ', - 'mscr' => '𝓂', - 'mstpos' => '∾', - 'Mu' => 'Μ', - 'mu' => 'μ', - 'multimap' => '⊸', - 'mumap' => '⊸', - 'nabla' => '∇', - 'Nacute' => 'Ń', - 'nacute' => 'ń', - 'nang' => '∠⃒', - 'nap' => '≉', - 'napE' => '⩰̸', - 'napid' => '≋̸', - 'napos' => 'ʼn', - 'napprox' => '≉', - 'natur' => '♮', - 'natural' => '♮', - 'naturals' => 'ℕ', - 'nbsp' => ' ', - 'nbs' => ' ', - 'nbump' => '≎̸', - 'nbumpe' => '≏̸', - 'ncap' => '⩃', - 'Ncaron' => 'Ň', - 'ncaron' => 'ň', - 'Ncedil' => 'Ņ', - 'ncedil' => 'ņ', - 'ncong' => '≇', - 'ncongdot' => '⩭̸', - 'ncup' => '⩂', - 'Ncy' => 'Н', - 'ncy' => 'н', - 'ndash' => '–', - 'ne' => '≠', - 'nearhk' => '⤤', - 'neArr' => '⇗', - 'nearr' => '↗', - 'nearrow' => '↗', - 'nedot' => '≐̸', - 'NegativeMediumSpace' => '​', - 'NegativeThickSpace' => '​', - 'NegativeThinSpace' => '​', - 'NegativeVeryThinSpace' => '​', - 'nequiv' => '≢', - 'nesear' => '⤨', - 'nesim' => '≂̸', - 'NestedGreaterGreater' => '≫', - 'NestedLessLess' => '≪', - 'NewLine' => ' + 'crarr' => '↵', + 'Cross' => '⨯', + 'cross' => '✗', + 'Cscr' => '𝒞', + 'cscr' => '𝒸', + 'csub' => '⫏', + 'csube' => '⫑', + 'csup' => '⫐', + 'csupe' => '⫒', + 'ctdot' => '⋯', + 'cudarrl' => '⤸', + 'cudarrr' => '⤵', + 'cuepr' => '⋞', + 'cuesc' => '⋟', + 'cularr' => '↶', + 'cularrp' => '⤽', + 'Cup' => '⋓', + 'cup' => '∪', + 'cupbrcap' => '⩈', + 'CupCap' => '≍', + 'cupcap' => '⩆', + 'cupcup' => '⩊', + 'cupdot' => '⊍', + 'cupor' => '⩅', + 'cups' => '∪︀', + 'curarr' => '↷', + 'curarrm' => '⤼', + 'curlyeqprec' => '⋞', + 'curlyeqsucc' => '⋟', + 'curlyvee' => '⋎', + 'curlywedge' => '⋏', + 'curren' => '¤', + 'curre' => '¤', + 'curvearrowleft' => '↶', + 'curvearrowright' => '↷', + 'cuvee' => '⋎', + 'cuwed' => '⋏', + 'cwconint' => '∲', + 'cwint' => '∱', + 'cylcty' => '⌭', + 'Dagger' => '‡', + 'dagger' => '†', + 'daleth' => 'ℸ', + 'Darr' => '↡', + 'dArr' => '⇓', + 'darr' => '↓', + 'dash' => '‐', + 'Dashv' => '⫤', + 'dashv' => '⊣', + 'dbkarow' => '⤏', + 'dblac' => '˝', + 'Dcaron' => 'Ď', + 'dcaron' => 'ď', + 'Dcy' => 'Д', + 'dcy' => 'д', + 'DD' => 'ⅅ', + 'dd' => 'ⅆ', + 'ddagger' => '‡', + 'ddarr' => '⇊', + 'DDotrahd' => '⤑', + 'ddotseq' => '⩷', + 'deg' => '°', + 'de' => '°', + 'Del' => '∇', + 'Delta' => 'Δ', + 'delta' => 'δ', + 'demptyv' => '⦱', + 'dfisht' => '⥿', + 'Dfr' => '𝔇', + 'dfr' => '𝔡', + 'dHar' => '⥥', + 'dharl' => '⇃', + 'dharr' => '⇂', + 'DiacriticalAcute' => '´', + 'DiacriticalDot' => '˙', + 'DiacriticalDoubleAcute' => '˝', + 'DiacriticalGrave' => '`', + 'DiacriticalTilde' => '˜', + 'diam' => '⋄', + 'Diamond' => '⋄', + 'diamond' => '⋄', + 'diamondsuit' => '♦', + 'diams' => '♦', + 'die' => '¨', + 'DifferentialD' => 'ⅆ', + 'digamma' => 'ϝ', + 'disin' => '⋲', + 'div' => '÷', + 'divide' => '÷', + 'divid' => '÷', + 'divideontimes' => '⋇', + 'divonx' => '⋇', + 'DJcy' => 'Ђ', + 'djcy' => 'ђ', + 'dlcorn' => '⌞', + 'dlcrop' => '⌍', + 'dollar' => '$', + 'Dopf' => '𝔻', + 'dopf' => '𝕕', + 'Dot' => '¨', + 'dot' => '˙', + 'DotDot' => '⃜', + 'doteq' => '≐', + 'doteqdot' => '≑', + 'DotEqual' => '≐', + 'dotminus' => '∸', + 'dotplus' => '∔', + 'dotsquare' => '⊡', + 'doublebarwedge' => '⌆', + 'DoubleContourIntegral' => '∯', + 'DoubleDot' => '¨', + 'DoubleDownArrow' => '⇓', + 'DoubleLeftArrow' => '⇐', + 'DoubleLeftRightArrow' => '⇔', + 'DoubleLeftTee' => '⫤', + 'DoubleLongLeftArrow' => '⟸', + 'DoubleLongLeftRightArrow' => '⟺', + 'DoubleLongRightArrow' => '⟹', + 'DoubleRightArrow' => '⇒', + 'DoubleRightTee' => '⊨', + 'DoubleUpArrow' => '⇑', + 'DoubleUpDownArrow' => '⇕', + 'DoubleVerticalBar' => '∥', + 'DownArrow' => '↓', + 'Downarrow' => '⇓', + 'downarrow' => '↓', + 'DownArrowBar' => '⤓', + 'DownArrowUpArrow' => '⇵', + 'DownBreve' => '̑', + 'downdownarrows' => '⇊', + 'downharpoonleft' => '⇃', + 'downharpoonright' => '⇂', + 'DownLeftRightVector' => '⥐', + 'DownLeftTeeVector' => '⥞', + 'DownLeftVector' => '↽', + 'DownLeftVectorBar' => '⥖', + 'DownRightTeeVector' => '⥟', + 'DownRightVector' => '⇁', + 'DownRightVectorBar' => '⥗', + 'DownTee' => '⊤', + 'DownTeeArrow' => '↧', + 'drbkarow' => '⤐', + 'drcorn' => '⌟', + 'drcrop' => '⌌', + 'Dscr' => '𝒟', + 'dscr' => '𝒹', + 'DScy' => 'Ѕ', + 'dscy' => 'ѕ', + 'dsol' => '⧶', + 'Dstrok' => 'Đ', + 'dstrok' => 'đ', + 'dtdot' => '⋱', + 'dtri' => '▿', + 'dtrif' => '▾', + 'duarr' => '⇵', + 'duhar' => '⥯', + 'dwangle' => '⦦', + 'DZcy' => 'Џ', + 'dzcy' => 'џ', + 'dzigrarr' => '⟿', + 'Eacute' => 'É', + 'Eacut' => 'É', + 'eacute' => 'é', + 'eacut' => 'é', + 'easter' => '⩮', + 'Ecaron' => 'Ě', + 'ecaron' => 'ě', + 'ecir' => 'ê', + 'Ecirc' => 'Ê', + 'Ecir' => 'Ê', + 'ecirc' => 'ê', + 'ecolon' => '≕', + 'Ecy' => 'Э', + 'ecy' => 'э', + 'eDDot' => '⩷', + 'Edot' => 'Ė', + 'eDot' => '≑', + 'edot' => 'ė', + 'ee' => 'ⅇ', + 'efDot' => '≒', + 'Efr' => '𝔈', + 'efr' => '𝔢', + 'eg' => '⪚', + 'Egrave' => 'È', + 'Egrav' => 'È', + 'egrave' => 'è', + 'egrav' => 'è', + 'egs' => '⪖', + 'egsdot' => '⪘', + 'el' => '⪙', + 'Element' => '∈', + 'elinters' => '⏧', + 'ell' => 'ℓ', + 'els' => '⪕', + 'elsdot' => '⪗', + 'Emacr' => 'Ē', + 'emacr' => 'ē', + 'empty' => '∅', + 'emptyset' => '∅', + 'EmptySmallSquare' => '◻', + 'emptyv' => '∅', + 'EmptyVerySmallSquare' => '▫', + 'emsp' => ' ', + 'emsp13' => ' ', + 'emsp14' => ' ', + 'ENG' => 'Ŋ', + 'eng' => 'ŋ', + 'ensp' => ' ', + 'Eogon' => 'Ę', + 'eogon' => 'ę', + 'Eopf' => '𝔼', + 'eopf' => '𝕖', + 'epar' => '⋕', + 'eparsl' => '⧣', + 'eplus' => '⩱', + 'epsi' => 'ε', + 'Epsilon' => 'Ε', + 'epsilon' => 'ε', + 'epsiv' => 'ϵ', + 'eqcirc' => '≖', + 'eqcolon' => '≕', + 'eqsim' => '≂', + 'eqslantgtr' => '⪖', + 'eqslantless' => '⪕', + 'Equal' => '⩵', + 'equals' => '=', + 'EqualTilde' => '≂', + 'equest' => '≟', + 'Equilibrium' => '⇌', + 'equiv' => '≡', + 'equivDD' => '⩸', + 'eqvparsl' => '⧥', + 'erarr' => '⥱', + 'erDot' => '≓', + 'Escr' => 'ℰ', + 'escr' => 'ℯ', + 'esdot' => '≐', + 'Esim' => '⩳', + 'esim' => '≂', + 'Eta' => 'Η', + 'eta' => 'η', + 'ETH' => 'Ð', + 'ET' => 'Ð', + 'eth' => 'ð', + 'et' => 'ð', + 'Euml' => 'Ë', + 'Eum' => 'Ë', + 'euml' => 'ë', + 'eum' => 'ë', + 'euro' => '€', + 'excl' => '!', + 'exist' => '∃', + 'Exists' => '∃', + 'expectation' => 'ℰ', + 'ExponentialE' => 'ⅇ', + 'exponentiale' => 'ⅇ', + 'fallingdotseq' => '≒', + 'Fcy' => 'Ф', + 'fcy' => 'ф', + 'female' => '♀', + 'ffilig' => 'ffi', + 'fflig' => 'ff', + 'ffllig' => 'ffl', + 'Ffr' => '𝔉', + 'ffr' => '𝔣', + 'filig' => 'fi', + 'FilledSmallSquare' => '◼', + 'FilledVerySmallSquare' => '▪', + 'fjlig' => 'fj', + 'flat' => '♭', + 'fllig' => 'fl', + 'fltns' => '▱', + 'fnof' => 'ƒ', + 'Fopf' => '𝔽', + 'fopf' => '𝕗', + 'ForAll' => '∀', + 'forall' => '∀', + 'fork' => '⋔', + 'forkv' => '⫙', + 'Fouriertrf' => 'ℱ', + 'fpartint' => '⨍', + 'frac12' => '½', + 'frac1' => '¼', + 'frac13' => '⅓', + 'frac14' => '¼', + 'frac15' => '⅕', + 'frac16' => '⅙', + 'frac18' => '⅛', + 'frac23' => '⅔', + 'frac25' => '⅖', + 'frac34' => '¾', + 'frac3' => '¾', + 'frac35' => '⅗', + 'frac38' => '⅜', + 'frac45' => '⅘', + 'frac56' => '⅚', + 'frac58' => '⅝', + 'frac78' => '⅞', + 'frasl' => '⁄', + 'frown' => '⌢', + 'Fscr' => 'ℱ', + 'fscr' => '𝒻', + 'gacute' => 'ǵ', + 'Gamma' => 'Γ', + 'gamma' => 'γ', + 'Gammad' => 'Ϝ', + 'gammad' => 'ϝ', + 'gap' => '⪆', + 'Gbreve' => 'Ğ', + 'gbreve' => 'ğ', + 'Gcedil' => 'Ģ', + 'Gcirc' => 'Ĝ', + 'gcirc' => 'ĝ', + 'Gcy' => 'Г', + 'gcy' => 'г', + 'Gdot' => 'Ġ', + 'gdot' => 'ġ', + 'gE' => '≧', + 'ge' => '≥', + 'gEl' => '⪌', + 'gel' => '⋛', + 'geq' => '≥', + 'geqq' => '≧', + 'geqslant' => '⩾', + 'ges' => '⩾', + 'gescc' => '⪩', + 'gesdot' => '⪀', + 'gesdoto' => '⪂', + 'gesdotol' => '⪄', + 'gesl' => '⋛︀', + 'gesles' => '⪔', + 'Gfr' => '𝔊', + 'gfr' => '𝔤', + 'Gg' => '⋙', + 'gg' => '≫', + 'ggg' => '⋙', + 'gimel' => 'ℷ', + 'GJcy' => 'Ѓ', + 'gjcy' => 'ѓ', + 'gl' => '≷', + 'gla' => '⪥', + 'glE' => '⪒', + 'glj' => '⪤', + 'gnap' => '⪊', + 'gnapprox' => '⪊', + 'gnE' => '≩', + 'gne' => '⪈', + 'gneq' => '⪈', + 'gneqq' => '≩', + 'gnsim' => '⋧', + 'Gopf' => '𝔾', + 'gopf' => '𝕘', + 'grave' => '`', + 'GreaterEqual' => '≥', + 'GreaterEqualLess' => '⋛', + 'GreaterFullEqual' => '≧', + 'GreaterGreater' => '⪢', + 'GreaterLess' => '≷', + 'GreaterSlantEqual' => '⩾', + 'GreaterTilde' => '≳', + 'Gscr' => '𝒢', + 'gscr' => 'ℊ', + 'gsim' => '≳', + 'gsime' => '⪎', + 'gsiml' => '⪐', + 'GT' => '>', + 'G' => '>', + 'Gt' => '≫', + 'gt' => '>', + 'g' => '>', + 'gtcc' => '⪧', + 'gtcir' => '⩺', + 'gtdot' => '⋗', + 'gtlPar' => '⦕', + 'gtquest' => '⩼', + 'gtrapprox' => '⪆', + 'gtrarr' => '⥸', + 'gtrdot' => '⋗', + 'gtreqless' => '⋛', + 'gtreqqless' => '⪌', + 'gtrless' => '≷', + 'gtrsim' => '≳', + 'gvertneqq' => '≩︀', + 'gvnE' => '≩︀', + 'Hacek' => 'ˇ', + 'hairsp' => ' ', + 'half' => '½', + 'hamilt' => 'ℋ', + 'HARDcy' => 'Ъ', + 'hardcy' => 'ъ', + 'hArr' => '⇔', + 'harr' => '↔', + 'harrcir' => '⥈', + 'harrw' => '↭', + 'Hat' => '^', + 'hbar' => 'ℏ', + 'Hcirc' => 'Ĥ', + 'hcirc' => 'ĥ', + 'hearts' => '♥', + 'heartsuit' => '♥', + 'hellip' => '…', + 'hercon' => '⊹', + 'Hfr' => 'ℌ', + 'hfr' => '𝔥', + 'HilbertSpace' => 'ℋ', + 'hksearow' => '⤥', + 'hkswarow' => '⤦', + 'hoarr' => '⇿', + 'homtht' => '∻', + 'hookleftarrow' => '↩', + 'hookrightarrow' => '↪', + 'Hopf' => 'ℍ', + 'hopf' => '𝕙', + 'horbar' => '―', + 'HorizontalLine' => '─', + 'Hscr' => 'ℋ', + 'hscr' => '𝒽', + 'hslash' => 'ℏ', + 'Hstrok' => 'Ħ', + 'hstrok' => 'ħ', + 'HumpDownHump' => '≎', + 'HumpEqual' => '≏', + 'hybull' => '⁃', + 'hyphen' => '‐', + 'Iacute' => 'Í', + 'Iacut' => 'Í', + 'iacute' => 'í', + 'iacut' => 'í', + 'ic' => '⁣', + 'Icirc' => 'Î', + 'Icir' => 'Î', + 'icirc' => 'î', + 'icir' => 'î', + 'Icy' => 'И', + 'icy' => 'и', + 'Idot' => 'İ', + 'IEcy' => 'Е', + 'iecy' => 'е', + 'iexcl' => '¡', + 'iexc' => '¡', + 'iff' => '⇔', + 'Ifr' => 'ℑ', + 'ifr' => '𝔦', + 'Igrave' => 'Ì', + 'Igrav' => 'Ì', + 'igrave' => 'ì', + 'igrav' => 'ì', + 'ii' => 'ⅈ', + 'iiiint' => '⨌', + 'iiint' => '∭', + 'iinfin' => '⧜', + 'iiota' => '℩', + 'IJlig' => 'IJ', + 'ijlig' => 'ij', + 'Im' => 'ℑ', + 'Imacr' => 'Ī', + 'imacr' => 'ī', + 'image' => 'ℑ', + 'ImaginaryI' => 'ⅈ', + 'imagline' => 'ℐ', + 'imagpart' => 'ℑ', + 'imath' => 'ı', + 'imof' => '⊷', + 'imped' => 'Ƶ', + 'Implies' => '⇒', + 'in' => '∈', + 'incare' => '℅', + 'infin' => '∞', + 'infintie' => '⧝', + 'inodot' => 'ı', + 'Int' => '∬', + 'int' => '∫', + 'intcal' => '⊺', + 'integers' => 'ℤ', + 'Integral' => '∫', + 'intercal' => '⊺', + 'Intersection' => '⋂', + 'intlarhk' => '⨗', + 'intprod' => '⨼', + 'InvisibleComma' => '⁣', + 'InvisibleTimes' => '⁢', + 'IOcy' => 'Ё', + 'iocy' => 'ё', + 'Iogon' => 'Į', + 'iogon' => 'į', + 'Iopf' => '𝕀', + 'iopf' => '𝕚', + 'Iota' => 'Ι', + 'iota' => 'ι', + 'iprod' => '⨼', + 'iquest' => '¿', + 'iques' => '¿', + 'Iscr' => 'ℐ', + 'iscr' => '𝒾', + 'isin' => '∈', + 'isindot' => '⋵', + 'isinE' => '⋹', + 'isins' => '⋴', + 'isinsv' => '⋳', + 'isinv' => '∈', + 'it' => '⁢', + 'Itilde' => 'Ĩ', + 'itilde' => 'ĩ', + 'Iukcy' => 'І', + 'iukcy' => 'і', + 'Iuml' => 'Ï', + 'Ium' => 'Ï', + 'iuml' => 'ï', + 'ium' => 'ï', + 'Jcirc' => 'Ĵ', + 'jcirc' => 'ĵ', + 'Jcy' => 'Й', + 'jcy' => 'й', + 'Jfr' => '𝔍', + 'jfr' => '𝔧', + 'jmath' => 'ȷ', + 'Jopf' => '𝕁', + 'jopf' => '𝕛', + 'Jscr' => '𝒥', + 'jscr' => '𝒿', + 'Jsercy' => 'Ј', + 'jsercy' => 'ј', + 'Jukcy' => 'Є', + 'jukcy' => 'є', + 'Kappa' => 'Κ', + 'kappa' => 'κ', + 'kappav' => 'ϰ', + 'Kcedil' => 'Ķ', + 'kcedil' => 'ķ', + 'Kcy' => 'К', + 'kcy' => 'к', + 'Kfr' => '𝔎', + 'kfr' => '𝔨', + 'kgreen' => 'ĸ', + 'KHcy' => 'Х', + 'khcy' => 'х', + 'KJcy' => 'Ќ', + 'kjcy' => 'ќ', + 'Kopf' => '𝕂', + 'kopf' => '𝕜', + 'Kscr' => '𝒦', + 'kscr' => '𝓀', + 'lAarr' => '⇚', + 'Lacute' => 'Ĺ', + 'lacute' => 'ĺ', + 'laemptyv' => '⦴', + 'lagran' => 'ℒ', + 'Lambda' => 'Λ', + 'lambda' => 'λ', + 'Lang' => '⟪', + 'lang' => '⟨', + 'langd' => '⦑', + 'langle' => '⟨', + 'lap' => '⪅', + 'Laplacetrf' => 'ℒ', + 'laquo' => '«', + 'laqu' => '«', + 'Larr' => '↞', + 'lArr' => '⇐', + 'larr' => '←', + 'larrb' => '⇤', + 'larrbfs' => '⤟', + 'larrfs' => '⤝', + 'larrhk' => '↩', + 'larrlp' => '↫', + 'larrpl' => '⤹', + 'larrsim' => '⥳', + 'larrtl' => '↢', + 'lat' => '⪫', + 'lAtail' => '⤛', + 'latail' => '⤙', + 'late' => '⪭', + 'lates' => '⪭︀', + 'lBarr' => '⤎', + 'lbarr' => '⤌', + 'lbbrk' => '❲', + 'lbrace' => '{', + 'lbrack' => '[', + 'lbrke' => '⦋', + 'lbrksld' => '⦏', + 'lbrkslu' => '⦍', + 'Lcaron' => 'Ľ', + 'lcaron' => 'ľ', + 'Lcedil' => 'Ļ', + 'lcedil' => 'ļ', + 'lceil' => '⌈', + 'lcub' => '{', + 'Lcy' => 'Л', + 'lcy' => 'л', + 'ldca' => '⤶', + 'ldquo' => '“', + 'ldquor' => '„', + 'ldrdhar' => '⥧', + 'ldrushar' => '⥋', + 'ldsh' => '↲', + 'lE' => '≦', + 'le' => '≤', + 'LeftAngleBracket' => '⟨', + 'LeftArrow' => '←', + 'Leftarrow' => '⇐', + 'leftarrow' => '←', + 'LeftArrowBar' => '⇤', + 'LeftArrowRightArrow' => '⇆', + 'leftarrowtail' => '↢', + 'LeftCeiling' => '⌈', + 'LeftDoubleBracket' => '⟦', + 'LeftDownTeeVector' => '⥡', + 'LeftDownVector' => '⇃', + 'LeftDownVectorBar' => '⥙', + 'LeftFloor' => '⌊', + 'leftharpoondown' => '↽', + 'leftharpoonup' => '↼', + 'leftleftarrows' => '⇇', + 'LeftRightArrow' => '↔', + 'Leftrightarrow' => '⇔', + 'leftrightarrow' => '↔', + 'leftrightarrows' => '⇆', + 'leftrightharpoons' => '⇋', + 'leftrightsquigarrow' => '↭', + 'LeftRightVector' => '⥎', + 'LeftTee' => '⊣', + 'LeftTeeArrow' => '↤', + 'LeftTeeVector' => '⥚', + 'leftthreetimes' => '⋋', + 'LeftTriangle' => '⊲', + 'LeftTriangleBar' => '⧏', + 'LeftTriangleEqual' => '⊴', + 'LeftUpDownVector' => '⥑', + 'LeftUpTeeVector' => '⥠', + 'LeftUpVector' => '↿', + 'LeftUpVectorBar' => '⥘', + 'LeftVector' => '↼', + 'LeftVectorBar' => '⥒', + 'lEg' => '⪋', + 'leg' => '⋚', + 'leq' => '≤', + 'leqq' => '≦', + 'leqslant' => '⩽', + 'les' => '⩽', + 'lescc' => '⪨', + 'lesdot' => '⩿', + 'lesdoto' => '⪁', + 'lesdotor' => '⪃', + 'lesg' => '⋚︀', + 'lesges' => '⪓', + 'lessapprox' => '⪅', + 'lessdot' => '⋖', + 'lesseqgtr' => '⋚', + 'lesseqqgtr' => '⪋', + 'LessEqualGreater' => '⋚', + 'LessFullEqual' => '≦', + 'LessGreater' => '≶', + 'lessgtr' => '≶', + 'LessLess' => '⪡', + 'lesssim' => '≲', + 'LessSlantEqual' => '⩽', + 'LessTilde' => '≲', + 'lfisht' => '⥼', + 'lfloor' => '⌊', + 'Lfr' => '𝔏', + 'lfr' => '𝔩', + 'lg' => '≶', + 'lgE' => '⪑', + 'lHar' => '⥢', + 'lhard' => '↽', + 'lharu' => '↼', + 'lharul' => '⥪', + 'lhblk' => '▄', + 'LJcy' => 'Љ', + 'ljcy' => 'љ', + 'Ll' => '⋘', + 'll' => '≪', + 'llarr' => '⇇', + 'llcorner' => '⌞', + 'Lleftarrow' => '⇚', + 'llhard' => '⥫', + 'lltri' => '◺', + 'Lmidot' => 'Ŀ', + 'lmidot' => 'ŀ', + 'lmoust' => '⎰', + 'lmoustache' => '⎰', + 'lnap' => '⪉', + 'lnapprox' => '⪉', + 'lnE' => '≨', + 'lne' => '⪇', + 'lneq' => '⪇', + 'lneqq' => '≨', + 'lnsim' => '⋦', + 'loang' => '⟬', + 'loarr' => '⇽', + 'lobrk' => '⟦', + 'LongLeftArrow' => '⟵', + 'Longleftarrow' => '⟸', + 'longleftarrow' => '⟵', + 'LongLeftRightArrow' => '⟷', + 'Longleftrightarrow' => '⟺', + 'longleftrightarrow' => '⟷', + 'longmapsto' => '⟼', + 'LongRightArrow' => '⟶', + 'Longrightarrow' => '⟹', + 'longrightarrow' => '⟶', + 'looparrowleft' => '↫', + 'looparrowright' => '↬', + 'lopar' => '⦅', + 'Lopf' => '𝕃', + 'lopf' => '𝕝', + 'loplus' => '⨭', + 'lotimes' => '⨴', + 'lowast' => '∗', + 'lowbar' => '_', + 'LowerLeftArrow' => '↙', + 'LowerRightArrow' => '↘', + 'loz' => '◊', + 'lozenge' => '◊', + 'lozf' => '⧫', + 'lpar' => '(', + 'lparlt' => '⦓', + 'lrarr' => '⇆', + 'lrcorner' => '⌟', + 'lrhar' => '⇋', + 'lrhard' => '⥭', + 'lrm' => '‎', + 'lrtri' => '⊿', + 'lsaquo' => '‹', + 'Lscr' => 'ℒ', + 'lscr' => '𝓁', + 'Lsh' => '↰', + 'lsh' => '↰', + 'lsim' => '≲', + 'lsime' => '⪍', + 'lsimg' => '⪏', + 'lsqb' => '[', + 'lsquo' => '‘', + 'lsquor' => '‚', + 'Lstrok' => 'Ł', + 'lstrok' => 'ł', + 'LT' => '<', + 'L' => '<', + 'Lt' => '≪', + 'lt' => '<', + 'l' => '<', + 'ltcc' => '⪦', + 'ltcir' => '⩹', + 'ltdot' => '⋖', + 'lthree' => '⋋', + 'ltimes' => '⋉', + 'ltlarr' => '⥶', + 'ltquest' => '⩻', + 'ltri' => '◃', + 'ltrie' => '⊴', + 'ltrif' => '◂', + 'ltrPar' => '⦖', + 'lurdshar' => '⥊', + 'luruhar' => '⥦', + 'lvertneqq' => '≨︀', + 'lvnE' => '≨︀', + 'macr' => '¯', + 'mac' => '¯', + 'male' => '♂', + 'malt' => '✠', + 'maltese' => '✠', + 'Map' => '⤅', + 'map' => '↦', + 'mapsto' => '↦', + 'mapstodown' => '↧', + 'mapstoleft' => '↤', + 'mapstoup' => '↥', + 'marker' => '▮', + 'mcomma' => '⨩', + 'Mcy' => 'М', + 'mcy' => 'м', + 'mdash' => '—', + 'mDDot' => '∺', + 'measuredangle' => '∡', + 'MediumSpace' => ' ', + 'Mellintrf' => 'ℳ', + 'Mfr' => '𝔐', + 'mfr' => '𝔪', + 'mho' => '℧', + 'micro' => 'µ', + 'micr' => 'µ', + 'mid' => '∣', + 'midast' => '*', + 'midcir' => '⫰', + 'middot' => '·', + 'middo' => '·', + 'minus' => '−', + 'minusb' => '⊟', + 'minusd' => '∸', + 'minusdu' => '⨪', + 'MinusPlus' => '∓', + 'mlcp' => '⫛', + 'mldr' => '…', + 'mnplus' => '∓', + 'models' => '⊧', + 'Mopf' => '𝕄', + 'mopf' => '𝕞', + 'mp' => '∓', + 'Mscr' => 'ℳ', + 'mscr' => '𝓂', + 'mstpos' => '∾', + 'Mu' => 'Μ', + 'mu' => 'μ', + 'multimap' => '⊸', + 'mumap' => '⊸', + 'nabla' => '∇', + 'Nacute' => 'Ń', + 'nacute' => 'ń', + 'nang' => '∠⃒', + 'nap' => '≉', + 'napE' => '⩰̸', + 'napid' => '≋̸', + 'napos' => 'ʼn', + 'napprox' => '≉', + 'natur' => '♮', + 'natural' => '♮', + 'naturals' => 'ℕ', + 'nbsp' => ' ', + 'nbs' => ' ', + 'nbump' => '≎̸', + 'nbumpe' => '≏̸', + 'ncap' => '⩃', + 'Ncaron' => 'Ň', + 'ncaron' => 'ň', + 'Ncedil' => 'Ņ', + 'ncedil' => 'ņ', + 'ncong' => '≇', + 'ncongdot' => '⩭̸', + 'ncup' => '⩂', + 'Ncy' => 'Н', + 'ncy' => 'н', + 'ndash' => '–', + 'ne' => '≠', + 'nearhk' => '⤤', + 'neArr' => '⇗', + 'nearr' => '↗', + 'nearrow' => '↗', + 'nedot' => '≐̸', + 'NegativeMediumSpace' => '​', + 'NegativeThickSpace' => '​', + 'NegativeThinSpace' => '​', + 'NegativeVeryThinSpace' => '​', + 'nequiv' => '≢', + 'nesear' => '⤨', + 'nesim' => '≂̸', + 'NestedGreaterGreater' => '≫', + 'NestedLessLess' => '≪', + 'NewLine' => ' ', - 'nexist' => '∄', - 'nexists' => '∄', - 'Nfr' => '𝔑', - 'nfr' => '𝔫', - 'ngE' => '≧̸', - 'nge' => '≱', - 'ngeq' => '≱', - 'ngeqq' => '≧̸', - 'ngeqslant' => '⩾̸', - 'nges' => '⩾̸', - 'nGg' => '⋙̸', - 'ngsim' => '≵', - 'nGt' => '≫⃒', - 'ngt' => '≯', - 'ngtr' => '≯', - 'nGtv' => '≫̸', - 'nhArr' => '⇎', - 'nharr' => '↮', - 'nhpar' => '⫲', - 'ni' => '∋', - 'nis' => '⋼', - 'nisd' => '⋺', - 'niv' => '∋', - 'NJcy' => 'Њ', - 'njcy' => 'њ', - 'nlArr' => '⇍', - 'nlarr' => '↚', - 'nldr' => '‥', - 'nlE' => '≦̸', - 'nle' => '≰', - 'nLeftarrow' => '⇍', - 'nleftarrow' => '↚', - 'nLeftrightarrow' => '⇎', - 'nleftrightarrow' => '↮', - 'nleq' => '≰', - 'nleqq' => '≦̸', - 'nleqslant' => '⩽̸', - 'nles' => '⩽̸', - 'nless' => '≮', - 'nLl' => '⋘̸', - 'nlsim' => '≴', - 'nLt' => '≪⃒', - 'nlt' => '≮', - 'nltri' => '⋪', - 'nltrie' => '⋬', - 'nLtv' => '≪̸', - 'nmid' => '∤', - 'NoBreak' => '⁠', - 'NonBreakingSpace' => ' ', - 'Nopf' => 'ℕ', - 'nopf' => '𝕟', - 'Not' => '⫬', - 'not' => '¬', - 'no' => '¬', - 'NotCongruent' => '≢', - 'NotCupCap' => '≭', - 'NotDoubleVerticalBar' => '∦', - 'NotElement' => '∉', - 'NotEqual' => '≠', - 'NotEqualTilde' => '≂̸', - 'NotExists' => '∄', - 'NotGreater' => '≯', - 'NotGreaterEqual' => '≱', - 'NotGreaterFullEqual' => '≧̸', - 'NotGreaterGreater' => '≫̸', - 'NotGreaterLess' => '≹', - 'NotGreaterSlantEqual' => '⩾̸', - 'NotGreaterTilde' => '≵', - 'NotHumpDownHump' => '≎̸', - 'NotHumpEqual' => '≏̸', - 'notin' => '∉', - 'notindot' => '⋵̸', - 'notinE' => '⋹̸', - 'notinva' => '∉', - 'notinvb' => '⋷', - 'notinvc' => '⋶', - 'NotLeftTriangle' => '⋪', - 'NotLeftTriangleBar' => '⧏̸', - 'NotLeftTriangleEqual' => '⋬', - 'NotLess' => '≮', - 'NotLessEqual' => '≰', - 'NotLessGreater' => '≸', - 'NotLessLess' => '≪̸', - 'NotLessSlantEqual' => '⩽̸', - 'NotLessTilde' => '≴', + 'nexist' => '∄', + 'nexists' => '∄', + 'Nfr' => '𝔑', + 'nfr' => '𝔫', + 'ngE' => '≧̸', + 'nge' => '≱', + 'ngeq' => '≱', + 'ngeqq' => '≧̸', + 'ngeqslant' => '⩾̸', + 'nges' => '⩾̸', + 'nGg' => '⋙̸', + 'ngsim' => '≵', + 'nGt' => '≫⃒', + 'ngt' => '≯', + 'ngtr' => '≯', + 'nGtv' => '≫̸', + 'nhArr' => '⇎', + 'nharr' => '↮', + 'nhpar' => '⫲', + 'ni' => '∋', + 'nis' => '⋼', + 'nisd' => '⋺', + 'niv' => '∋', + 'NJcy' => 'Њ', + 'njcy' => 'њ', + 'nlArr' => '⇍', + 'nlarr' => '↚', + 'nldr' => '‥', + 'nlE' => '≦̸', + 'nle' => '≰', + 'nLeftarrow' => '⇍', + 'nleftarrow' => '↚', + 'nLeftrightarrow' => '⇎', + 'nleftrightarrow' => '↮', + 'nleq' => '≰', + 'nleqq' => '≦̸', + 'nleqslant' => '⩽̸', + 'nles' => '⩽̸', + 'nless' => '≮', + 'nLl' => '⋘̸', + 'nlsim' => '≴', + 'nLt' => '≪⃒', + 'nlt' => '≮', + 'nltri' => '⋪', + 'nltrie' => '⋬', + 'nLtv' => '≪̸', + 'nmid' => '∤', + 'NoBreak' => '⁠', + 'NonBreakingSpace' => ' ', + 'Nopf' => 'ℕ', + 'nopf' => '𝕟', + 'Not' => '⫬', + 'not' => '¬', + 'no' => '¬', + 'NotCongruent' => '≢', + 'NotCupCap' => '≭', + 'NotDoubleVerticalBar' => '∦', + 'NotElement' => '∉', + 'NotEqual' => '≠', + 'NotEqualTilde' => '≂̸', + 'NotExists' => '∄', + 'NotGreater' => '≯', + 'NotGreaterEqual' => '≱', + 'NotGreaterFullEqual' => '≧̸', + 'NotGreaterGreater' => '≫̸', + 'NotGreaterLess' => '≹', + 'NotGreaterSlantEqual' => '⩾̸', + 'NotGreaterTilde' => '≵', + 'NotHumpDownHump' => '≎̸', + 'NotHumpEqual' => '≏̸', + 'notin' => '∉', + 'notindot' => '⋵̸', + 'notinE' => '⋹̸', + 'notinva' => '∉', + 'notinvb' => '⋷', + 'notinvc' => '⋶', + 'NotLeftTriangle' => '⋪', + 'NotLeftTriangleBar' => '⧏̸', + 'NotLeftTriangleEqual' => '⋬', + 'NotLess' => '≮', + 'NotLessEqual' => '≰', + 'NotLessGreater' => '≸', + 'NotLessLess' => '≪̸', + 'NotLessSlantEqual' => '⩽̸', + 'NotLessTilde' => '≴', 'NotNestedGreaterGreater' => '⪢̸', - 'NotNestedLessLess' => '⪡̸', - 'notni' => '∌', - 'notniva' => '∌', - 'notnivb' => '⋾', - 'notnivc' => '⋽', - 'NotPrecedes' => '⊀', - 'NotPrecedesEqual' => '⪯̸', - 'NotPrecedesSlantEqual' => '⋠', - 'NotReverseElement' => '∌', - 'NotRightTriangle' => '⋫', - 'NotRightTriangleBar' => '⧐̸', - 'NotRightTriangleEqual' => '⋭', - 'NotSquareSubset' => '⊏̸', - 'NotSquareSubsetEqual' => '⋢', - 'NotSquareSuperset' => '⊐̸', - 'NotSquareSupersetEqual' => '⋣', - 'NotSubset' => '⊂⃒', - 'NotSubsetEqual' => '⊈', - 'NotSucceeds' => '⊁', - 'NotSucceedsEqual' => '⪰̸', - 'NotSucceedsSlantEqual' => '⋡', - 'NotSucceedsTilde' => '≿̸', - 'NotSuperset' => '⊃⃒', - 'NotSupersetEqual' => '⊉', - 'NotTilde' => '≁', - 'NotTildeEqual' => '≄', - 'NotTildeFullEqual' => '≇', - 'NotTildeTilde' => '≉', - 'NotVerticalBar' => '∤', - 'npar' => '∦', - 'nparallel' => '∦', - 'nparsl' => '⫽⃥', - 'npart' => '∂̸', - 'npolint' => '⨔', - 'npr' => '⊀', - 'nprcue' => '⋠', - 'npre' => '⪯̸', - 'nprec' => '⊀', - 'npreceq' => '⪯̸', - 'nrArr' => '⇏', - 'nrarr' => '↛', - 'nrarrc' => '⤳̸', - 'nrarrw' => '↝̸', - 'nRightarrow' => '⇏', - 'nrightarrow' => '↛', - 'nrtri' => '⋫', - 'nrtrie' => '⋭', - 'nsc' => '⊁', - 'nsccue' => '⋡', - 'nsce' => '⪰̸', - 'Nscr' => '𝒩', - 'nscr' => '𝓃', - 'nshortmid' => '∤', - 'nshortparallel' => '∦', - 'nsim' => '≁', - 'nsime' => '≄', - 'nsimeq' => '≄', - 'nsmid' => '∤', - 'nspar' => '∦', - 'nsqsube' => '⋢', - 'nsqsupe' => '⋣', - 'nsub' => '⊄', - 'nsubE' => '⫅̸', - 'nsube' => '⊈', - 'nsubset' => '⊂⃒', - 'nsubseteq' => '⊈', - 'nsubseteqq' => '⫅̸', - 'nsucc' => '⊁', - 'nsucceq' => '⪰̸', - 'nsup' => '⊅', - 'nsupE' => '⫆̸', - 'nsupe' => '⊉', - 'nsupset' => '⊃⃒', - 'nsupseteq' => '⊉', - 'nsupseteqq' => '⫆̸', - 'ntgl' => '≹', - 'Ntilde' => 'Ñ', - 'Ntild' => 'Ñ', - 'ntilde' => 'ñ', - 'ntild' => 'ñ', - 'ntlg' => '≸', - 'ntriangleleft' => '⋪', - 'ntrianglelefteq' => '⋬', - 'ntriangleright' => '⋫', - 'ntrianglerighteq' => '⋭', - 'Nu' => 'Ν', - 'nu' => 'ν', - 'num' => '#', - 'numero' => '№', - 'numsp' => ' ', - 'nvap' => '≍⃒', - 'nVDash' => '⊯', - 'nVdash' => '⊮', - 'nvDash' => '⊭', - 'nvdash' => '⊬', - 'nvge' => '≥⃒', - 'nvgt' => '>⃒', - 'nvHarr' => '⤄', - 'nvinfin' => '⧞', - 'nvlArr' => '⤂', - 'nvle' => '≤⃒', - 'nvlt' => '<⃒', - 'nvltrie' => '⊴⃒', - 'nvrArr' => '⤃', - 'nvrtrie' => '⊵⃒', - 'nvsim' => '∼⃒', - 'nwarhk' => '⤣', - 'nwArr' => '⇖', - 'nwarr' => '↖', - 'nwarrow' => '↖', - 'nwnear' => '⤧', - 'Oacute' => 'Ó', - 'Oacut' => 'Ó', - 'oacute' => 'ó', - 'oacut' => 'ó', - 'oast' => '⊛', - 'ocir' => 'ô', - 'Ocirc' => 'Ô', - 'Ocir' => 'Ô', - 'ocirc' => 'ô', - 'Ocy' => 'О', - 'ocy' => 'о', - 'odash' => '⊝', - 'Odblac' => 'Ő', - 'odblac' => 'ő', - 'odiv' => '⨸', - 'odot' => '⊙', - 'odsold' => '⦼', - 'OElig' => 'Œ', - 'oelig' => 'œ', - 'ofcir' => '⦿', - 'Ofr' => '𝔒', - 'ofr' => '𝔬', - 'ogon' => '˛', - 'Ograve' => 'Ò', - 'Ograv' => 'Ò', - 'ograve' => 'ò', - 'ograv' => 'ò', - 'ogt' => '⧁', - 'ohbar' => '⦵', - 'ohm' => 'Ω', - 'oint' => '∮', - 'olarr' => '↺', - 'olcir' => '⦾', - 'olcross' => '⦻', - 'oline' => '‾', - 'olt' => '⧀', - 'Omacr' => 'Ō', - 'omacr' => 'ō', - 'Omega' => 'Ω', - 'omega' => 'ω', - 'Omicron' => 'Ο', - 'omicron' => 'ο', - 'omid' => '⦶', - 'ominus' => '⊖', - 'Oopf' => '𝕆', - 'oopf' => '𝕠', - 'opar' => '⦷', - 'OpenCurlyDoubleQuote' => '“', - 'OpenCurlyQuote' => '‘', - 'operp' => '⦹', - 'oplus' => '⊕', - 'Or' => '⩔', - 'or' => '∨', - 'orarr' => '↻', - 'ord' => 'º', - 'order' => 'ℴ', - 'orderof' => 'ℴ', - 'ordf' => 'ª', - 'ordm' => 'º', - 'origof' => '⊶', - 'oror' => '⩖', - 'orslope' => '⩗', - 'orv' => '⩛', - 'oS' => 'Ⓢ', - 'Oscr' => '𝒪', - 'oscr' => 'ℴ', - 'Oslash' => 'Ø', - 'Oslas' => 'Ø', - 'oslash' => 'ø', - 'oslas' => 'ø', - 'osol' => '⊘', - 'Otilde' => 'Õ', - 'Otild' => 'Õ', - 'otilde' => 'õ', - 'otild' => 'õ', - 'Otimes' => '⨷', - 'otimes' => '⊗', - 'otimesas' => '⨶', - 'Ouml' => 'Ö', - 'Oum' => 'Ö', - 'ouml' => 'ö', - 'oum' => 'ö', - 'ovbar' => '⌽', - 'OverBar' => '‾', - 'OverBrace' => '⏞', - 'OverBracket' => '⎴', - 'OverParenthesis' => '⏜', - 'par' => '¶', - 'para' => '¶', - 'parallel' => '∥', - 'parsim' => '⫳', - 'parsl' => '⫽', - 'part' => '∂', - 'PartialD' => '∂', - 'Pcy' => 'П', - 'pcy' => 'п', - 'percnt' => '%', - 'period' => '.', - 'permil' => '‰', - 'perp' => '⊥', - 'pertenk' => '‱', - 'Pfr' => '𝔓', - 'pfr' => '𝔭', - 'Phi' => 'Φ', - 'phi' => 'φ', - 'phiv' => 'ϕ', - 'phmmat' => 'ℳ', - 'phone' => '☎', - 'Pi' => 'Π', - 'pi' => 'π', - 'pitchfork' => '⋔', - 'piv' => 'ϖ', - 'planck' => 'ℏ', - 'planckh' => 'ℎ', - 'plankv' => 'ℏ', - 'plus' => '+', - 'plusacir' => '⨣', - 'plusb' => '⊞', - 'pluscir' => '⨢', - 'plusdo' => '∔', - 'plusdu' => '⨥', - 'pluse' => '⩲', - 'PlusMinus' => '±', - 'plusmn' => '±', - 'plusm' => '±', - 'plussim' => '⨦', - 'plustwo' => '⨧', - 'pm' => '±', - 'Poincareplane' => 'ℌ', - 'pointint' => '⨕', - 'Popf' => 'ℙ', - 'popf' => '𝕡', - 'pound' => '£', - 'poun' => '£', - 'Pr' => '⪻', - 'pr' => '≺', - 'prap' => '⪷', - 'prcue' => '≼', - 'prE' => '⪳', - 'pre' => '⪯', - 'prec' => '≺', - 'precapprox' => '⪷', - 'preccurlyeq' => '≼', - 'Precedes' => '≺', - 'PrecedesEqual' => '⪯', - 'PrecedesSlantEqual' => '≼', - 'PrecedesTilde' => '≾', - 'preceq' => '⪯', - 'precnapprox' => '⪹', - 'precneqq' => '⪵', - 'precnsim' => '⋨', - 'precsim' => '≾', - 'Prime' => '″', - 'prime' => '′', - 'primes' => 'ℙ', - 'prnap' => '⪹', - 'prnE' => '⪵', - 'prnsim' => '⋨', - 'prod' => '∏', - 'Product' => '∏', - 'profalar' => '⌮', - 'profline' => '⌒', - 'profsurf' => '⌓', - 'prop' => '∝', - 'Proportion' => '∷', - 'Proportional' => '∝', - 'propto' => '∝', - 'prsim' => '≾', - 'prurel' => '⊰', - 'Pscr' => '𝒫', - 'pscr' => '𝓅', - 'Psi' => 'Ψ', - 'psi' => 'ψ', - 'puncsp' => ' ', - 'Qfr' => '𝔔', - 'qfr' => '𝔮', - 'qint' => '⨌', - 'Qopf' => 'ℚ', - 'qopf' => '𝕢', - 'qprime' => '⁗', - 'Qscr' => '𝒬', - 'qscr' => '𝓆', - 'quaternions' => 'ℍ', - 'quatint' => '⨖', - 'quest' => '?', - 'questeq' => '≟', - 'QUOT' => '"', - 'QUO' => '"', - 'quot' => '"', - 'quo' => '"', - 'rAarr' => '⇛', - 'race' => '∽̱', - 'Racute' => 'Ŕ', - 'racute' => 'ŕ', - 'radic' => '√', - 'raemptyv' => '⦳', - 'Rang' => '⟫', - 'rang' => '⟩', - 'rangd' => '⦒', - 'range' => '⦥', - 'rangle' => '⟩', - 'raquo' => '»', - 'raqu' => '»', - 'Rarr' => '↠', - 'rArr' => '⇒', - 'rarr' => '→', - 'rarrap' => '⥵', - 'rarrb' => '⇥', - 'rarrbfs' => '⤠', - 'rarrc' => '⤳', - 'rarrfs' => '⤞', - 'rarrhk' => '↪', - 'rarrlp' => '↬', - 'rarrpl' => '⥅', - 'rarrsim' => '⥴', - 'Rarrtl' => '⤖', - 'rarrtl' => '↣', - 'rarrw' => '↝', - 'rAtail' => '⤜', - 'ratail' => '⤚', - 'ratio' => '∶', - 'rationals' => 'ℚ', - 'RBarr' => '⤐', - 'rBarr' => '⤏', - 'rbarr' => '⤍', - 'rbbrk' => '❳', - 'rbrace' => '}', - 'rbrack' => ']', - 'rbrke' => '⦌', - 'rbrksld' => '⦎', - 'rbrkslu' => '⦐', - 'Rcaron' => 'Ř', - 'rcaron' => 'ř', - 'Rcedil' => 'Ŗ', - 'rcedil' => 'ŗ', - 'rceil' => '⌉', - 'rcub' => '}', - 'Rcy' => 'Р', - 'rcy' => 'р', - 'rdca' => '⤷', - 'rdldhar' => '⥩', - 'rdquo' => '”', - 'rdquor' => '”', - 'rdsh' => '↳', - 'Re' => 'ℜ', - 'real' => 'ℜ', - 'realine' => 'ℛ', - 'realpart' => 'ℜ', - 'reals' => 'ℝ', - 'rect' => '▭', - 'REG' => '®', - 'RE' => '®', - 'reg' => '®', - 're' => '®', - 'ReverseElement' => '∋', - 'ReverseEquilibrium' => '⇋', - 'ReverseUpEquilibrium' => '⥯', - 'rfisht' => '⥽', - 'rfloor' => '⌋', - 'Rfr' => 'ℜ', - 'rfr' => '𝔯', - 'rHar' => '⥤', - 'rhard' => '⇁', - 'rharu' => '⇀', - 'rharul' => '⥬', - 'Rho' => 'Ρ', - 'rho' => 'ρ', - 'rhov' => 'ϱ', - 'RightAngleBracket' => '⟩', - 'RightArrow' => '→', - 'Rightarrow' => '⇒', - 'rightarrow' => '→', - 'RightArrowBar' => '⇥', - 'RightArrowLeftArrow' => '⇄', - 'rightarrowtail' => '↣', - 'RightCeiling' => '⌉', - 'RightDoubleBracket' => '⟧', - 'RightDownTeeVector' => '⥝', - 'RightDownVector' => '⇂', - 'RightDownVectorBar' => '⥕', - 'RightFloor' => '⌋', - 'rightharpoondown' => '⇁', - 'rightharpoonup' => '⇀', - 'rightleftarrows' => '⇄', - 'rightleftharpoons' => '⇌', - 'rightrightarrows' => '⇉', - 'rightsquigarrow' => '↝', - 'RightTee' => '⊢', - 'RightTeeArrow' => '↦', - 'RightTeeVector' => '⥛', - 'rightthreetimes' => '⋌', - 'RightTriangle' => '⊳', - 'RightTriangleBar' => '⧐', - 'RightTriangleEqual' => '⊵', - 'RightUpDownVector' => '⥏', - 'RightUpTeeVector' => '⥜', - 'RightUpVector' => '↾', - 'RightUpVectorBar' => '⥔', - 'RightVector' => '⇀', - 'RightVectorBar' => '⥓', - 'ring' => '˚', - 'risingdotseq' => '≓', - 'rlarr' => '⇄', - 'rlhar' => '⇌', - 'rlm' => '‏', - 'rmoust' => '⎱', - 'rmoustache' => '⎱', - 'rnmid' => '⫮', - 'roang' => '⟭', - 'roarr' => '⇾', - 'robrk' => '⟧', - 'ropar' => '⦆', - 'Ropf' => 'ℝ', - 'ropf' => '𝕣', - 'roplus' => '⨮', - 'rotimes' => '⨵', - 'RoundImplies' => '⥰', - 'rpar' => ')', - 'rpargt' => '⦔', - 'rppolint' => '⨒', - 'rrarr' => '⇉', - 'Rrightarrow' => '⇛', - 'rsaquo' => '›', - 'Rscr' => 'ℛ', - 'rscr' => '𝓇', - 'Rsh' => '↱', - 'rsh' => '↱', - 'rsqb' => ']', - 'rsquo' => '’', - 'rsquor' => '’', - 'rthree' => '⋌', - 'rtimes' => '⋊', - 'rtri' => '▹', - 'rtrie' => '⊵', - 'rtrif' => '▸', - 'rtriltri' => '⧎', - 'RuleDelayed' => '⧴', - 'ruluhar' => '⥨', - 'rx' => '℞', - 'Sacute' => 'Ś', - 'sacute' => 'ś', - 'sbquo' => '‚', - 'Sc' => '⪼', - 'sc' => '≻', - 'scap' => '⪸', - 'Scaron' => 'Š', - 'scaron' => 'š', - 'sccue' => '≽', - 'scE' => '⪴', - 'sce' => '⪰', - 'Scedil' => 'Ş', - 'scedil' => 'ş', - 'Scirc' => 'Ŝ', - 'scirc' => 'ŝ', - 'scnap' => '⪺', - 'scnE' => '⪶', - 'scnsim' => '⋩', - 'scpolint' => '⨓', - 'scsim' => '≿', - 'Scy' => 'С', - 'scy' => 'с', - 'sdot' => '⋅', - 'sdotb' => '⊡', - 'sdote' => '⩦', - 'searhk' => '⤥', - 'seArr' => '⇘', - 'searr' => '↘', - 'searrow' => '↘', - 'sect' => '§', - 'sec' => '§', - 'semi' => ';', - 'seswar' => '⤩', - 'setminus' => '∖', - 'setmn' => '∖', - 'sext' => '✶', - 'Sfr' => '𝔖', - 'sfr' => '𝔰', - 'sfrown' => '⌢', - 'sharp' => '♯', - 'SHCHcy' => 'Щ', - 'shchcy' => 'щ', - 'SHcy' => 'Ш', - 'shcy' => 'ш', - 'ShortDownArrow' => '↓', - 'ShortLeftArrow' => '←', - 'shortmid' => '∣', - 'shortparallel' => '∥', - 'ShortRightArrow' => '→', - 'ShortUpArrow' => '↑', - 'shy' => '­', - 'sh' => '­', - 'Sigma' => 'Σ', - 'sigma' => 'σ', - 'sigmaf' => 'ς', - 'sigmav' => 'ς', - 'sim' => '∼', - 'simdot' => '⩪', - 'sime' => '≃', - 'simeq' => '≃', - 'simg' => '⪞', - 'simgE' => '⪠', - 'siml' => '⪝', - 'simlE' => '⪟', - 'simne' => '≆', - 'simplus' => '⨤', - 'simrarr' => '⥲', - 'slarr' => '←', - 'SmallCircle' => '∘', - 'smallsetminus' => '∖', - 'smashp' => '⨳', - 'smeparsl' => '⧤', - 'smid' => '∣', - 'smile' => '⌣', - 'smt' => '⪪', - 'smte' => '⪬', - 'smtes' => '⪬︀', - 'SOFTcy' => 'Ь', - 'softcy' => 'ь', - 'sol' => '/', - 'solb' => '⧄', - 'solbar' => '⌿', - 'Sopf' => '𝕊', - 'sopf' => '𝕤', - 'spades' => '♠', - 'spadesuit' => '♠', - 'spar' => '∥', - 'sqcap' => '⊓', - 'sqcaps' => '⊓︀', - 'sqcup' => '⊔', - 'sqcups' => '⊔︀', - 'Sqrt' => '√', - 'sqsub' => '⊏', - 'sqsube' => '⊑', - 'sqsubset' => '⊏', - 'sqsubseteq' => '⊑', - 'sqsup' => '⊐', - 'sqsupe' => '⊒', - 'sqsupset' => '⊐', - 'sqsupseteq' => '⊒', - 'squ' => '□', - 'Square' => '□', - 'square' => '□', - 'SquareIntersection' => '⊓', - 'SquareSubset' => '⊏', - 'SquareSubsetEqual' => '⊑', - 'SquareSuperset' => '⊐', - 'SquareSupersetEqual' => '⊒', - 'SquareUnion' => '⊔', - 'squarf' => '▪', - 'squf' => '▪', - 'srarr' => '→', - 'Sscr' => '𝒮', - 'sscr' => '𝓈', - 'ssetmn' => '∖', - 'ssmile' => '⌣', - 'sstarf' => '⋆', - 'Star' => '⋆', - 'star' => '☆', - 'starf' => '★', - 'straightepsilon' => 'ϵ', - 'straightphi' => 'ϕ', - 'strns' => '¯', - 'Sub' => '⋐', - 'sub' => '⊂', - 'subdot' => '⪽', - 'subE' => '⫅', - 'sube' => '⊆', - 'subedot' => '⫃', - 'submult' => '⫁', - 'subnE' => '⫋', - 'subne' => '⊊', - 'subplus' => '⪿', - 'subrarr' => '⥹', - 'Subset' => '⋐', - 'subset' => '⊂', - 'subseteq' => '⊆', - 'subseteqq' => '⫅', - 'SubsetEqual' => '⊆', - 'subsetneq' => '⊊', - 'subsetneqq' => '⫋', - 'subsim' => '⫇', - 'subsub' => '⫕', - 'subsup' => '⫓', - 'succ' => '≻', - 'succapprox' => '⪸', - 'succcurlyeq' => '≽', - 'Succeeds' => '≻', - 'SucceedsEqual' => '⪰', - 'SucceedsSlantEqual' => '≽', - 'SucceedsTilde' => '≿', - 'succeq' => '⪰', - 'succnapprox' => '⪺', - 'succneqq' => '⪶', - 'succnsim' => '⋩', - 'succsim' => '≿', - 'SuchThat' => '∋', - 'Sum' => '∑', - 'sum' => '∑', - 'sung' => '♪', - 'Sup' => '⋑', - 'sup' => '³', - 'sup1' => '¹', - 'sup2' => '²', - 'sup3' => '³', - 'supdot' => '⪾', - 'supdsub' => '⫘', - 'supE' => '⫆', - 'supe' => '⊇', - 'supedot' => '⫄', - 'Superset' => '⊃', - 'SupersetEqual' => '⊇', - 'suphsol' => '⟉', - 'suphsub' => '⫗', - 'suplarr' => '⥻', - 'supmult' => '⫂', - 'supnE' => '⫌', - 'supne' => '⊋', - 'supplus' => '⫀', - 'Supset' => '⋑', - 'supset' => '⊃', - 'supseteq' => '⊇', - 'supseteqq' => '⫆', - 'supsetneq' => '⊋', - 'supsetneqq' => '⫌', - 'supsim' => '⫈', - 'supsub' => '⫔', - 'supsup' => '⫖', - 'swarhk' => '⤦', - 'swArr' => '⇙', - 'swarr' => '↙', - 'swarrow' => '↙', - 'swnwar' => '⤪', - 'szlig' => 'ß', - 'szli' => 'ß', - 'Tab' => ' ', - 'target' => '⌖', - 'Tau' => 'Τ', - 'tau' => 'τ', - 'tbrk' => '⎴', - 'Tcaron' => 'Ť', - 'tcaron' => 'ť', - 'Tcedil' => 'Ţ', - 'tcedil' => 'ţ', - 'Tcy' => 'Т', - 'tcy' => 'т', - 'tdot' => '⃛', - 'telrec' => '⌕', - 'Tfr' => '𝔗', - 'tfr' => '𝔱', - 'there4' => '∴', - 'Therefore' => '∴', - 'therefore' => '∴', - 'Theta' => 'Θ', - 'theta' => 'θ', - 'thetasym' => 'ϑ', - 'thetav' => 'ϑ', - 'thickapprox' => '≈', - 'thicksim' => '∼', - 'ThickSpace' => '  ', - 'thinsp' => ' ', - 'ThinSpace' => ' ', - 'thkap' => '≈', - 'thksim' => '∼', - 'THORN' => 'Þ', - 'THOR' => 'Þ', - 'thorn' => 'þ', - 'thor' => 'þ', - 'Tilde' => '∼', - 'tilde' => '˜', - 'TildeEqual' => '≃', - 'TildeFullEqual' => '≅', - 'TildeTilde' => '≈', - 'times' => '×', - 'time' => '×', - 'timesb' => '⊠', - 'timesbar' => '⨱', - 'timesd' => '⨰', - 'tint' => '∭', - 'toea' => '⤨', - 'top' => '⊤', - 'topbot' => '⌶', - 'topcir' => '⫱', - 'Topf' => '𝕋', - 'topf' => '𝕥', - 'topfork' => '⫚', - 'tosa' => '⤩', - 'tprime' => '‴', - 'TRADE' => '™', - 'trade' => '™', - 'triangle' => '▵', - 'triangledown' => '▿', - 'triangleleft' => '◃', - 'trianglelefteq' => '⊴', - 'triangleq' => '≜', - 'triangleright' => '▹', - 'trianglerighteq' => '⊵', - 'tridot' => '◬', - 'trie' => '≜', - 'triminus' => '⨺', - 'TripleDot' => '⃛', - 'triplus' => '⨹', - 'trisb' => '⧍', - 'tritime' => '⨻', - 'trpezium' => '⏢', - 'Tscr' => '𝒯', - 'tscr' => '𝓉', - 'TScy' => 'Ц', - 'tscy' => 'ц', - 'TSHcy' => 'Ћ', - 'tshcy' => 'ћ', - 'Tstrok' => 'Ŧ', - 'tstrok' => 'ŧ', - 'twixt' => '≬', - 'twoheadleftarrow' => '↞', - 'twoheadrightarrow' => '↠', - 'Uacute' => 'Ú', - 'Uacut' => 'Ú', - 'uacute' => 'ú', - 'uacut' => 'ú', - 'Uarr' => '↟', - 'uArr' => '⇑', - 'uarr' => '↑', - 'Uarrocir' => '⥉', - 'Ubrcy' => 'Ў', - 'ubrcy' => 'ў', - 'Ubreve' => 'Ŭ', - 'ubreve' => 'ŭ', - 'Ucirc' => 'Û', - 'Ucir' => 'Û', - 'ucirc' => 'û', - 'ucir' => 'û', - 'Ucy' => 'У', - 'ucy' => 'у', - 'udarr' => '⇅', - 'Udblac' => 'Ű', - 'udblac' => 'ű', - 'udhar' => '⥮', - 'ufisht' => '⥾', - 'Ufr' => '𝔘', - 'ufr' => '𝔲', - 'Ugrave' => 'Ù', - 'Ugrav' => 'Ù', - 'ugrave' => 'ù', - 'ugrav' => 'ù', - 'uHar' => '⥣', - 'uharl' => '↿', - 'uharr' => '↾', - 'uhblk' => '▀', - 'ulcorn' => '⌜', - 'ulcorner' => '⌜', - 'ulcrop' => '⌏', - 'ultri' => '◸', - 'Umacr' => 'Ū', - 'umacr' => 'ū', - 'uml' => '¨', - 'um' => '¨', - 'UnderBar' => '_', - 'UnderBrace' => '⏟', - 'UnderBracket' => '⎵', - 'UnderParenthesis' => '⏝', - 'Union' => '⋃', - 'UnionPlus' => '⊎', - 'Uogon' => 'Ų', - 'uogon' => 'ų', - 'Uopf' => '𝕌', - 'uopf' => '𝕦', - 'UpArrow' => '↑', - 'Uparrow' => '⇑', - 'uparrow' => '↑', - 'UpArrowBar' => '⤒', - 'UpArrowDownArrow' => '⇅', - 'UpDownArrow' => '↕', - 'Updownarrow' => '⇕', - 'updownarrow' => '↕', - 'UpEquilibrium' => '⥮', - 'upharpoonleft' => '↿', - 'upharpoonright' => '↾', - 'uplus' => '⊎', - 'UpperLeftArrow' => '↖', - 'UpperRightArrow' => '↗', - 'Upsi' => 'ϒ', - 'upsi' => 'υ', - 'upsih' => 'ϒ', - 'Upsilon' => 'Υ', - 'upsilon' => 'υ', - 'UpTee' => '⊥', - 'UpTeeArrow' => '↥', - 'upuparrows' => '⇈', - 'urcorn' => '⌝', - 'urcorner' => '⌝', - 'urcrop' => '⌎', - 'Uring' => 'Ů', - 'uring' => 'ů', - 'urtri' => '◹', - 'Uscr' => '𝒰', - 'uscr' => '𝓊', - 'utdot' => '⋰', - 'Utilde' => 'Ũ', - 'utilde' => 'ũ', - 'utri' => '▵', - 'utrif' => '▴', - 'uuarr' => '⇈', - 'Uuml' => 'Ü', - 'Uum' => 'Ü', - 'uuml' => 'ü', - 'uum' => 'ü', - 'uwangle' => '⦧', - 'vangrt' => '⦜', - 'varepsilon' => 'ϵ', - 'varkappa' => 'ϰ', - 'varnothing' => '∅', - 'varphi' => 'ϕ', - 'varpi' => 'ϖ', - 'varpropto' => '∝', - 'vArr' => '⇕', - 'varr' => '↕', - 'varrho' => 'ϱ', - 'varsigma' => 'ς', - 'varsubsetneq' => '⊊︀', - 'varsubsetneqq' => '⫋︀', - 'varsupsetneq' => '⊋︀', - 'varsupsetneqq' => '⫌︀', - 'vartheta' => 'ϑ', - 'vartriangleleft' => '⊲', - 'vartriangleright' => '⊳', - 'Vbar' => '⫫', - 'vBar' => '⫨', - 'vBarv' => '⫩', - 'Vcy' => 'В', - 'vcy' => 'в', - 'VDash' => '⊫', - 'Vdash' => '⊩', - 'vDash' => '⊨', - 'vdash' => '⊢', - 'Vdashl' => '⫦', - 'Vee' => '⋁', - 'vee' => '∨', - 'veebar' => '⊻', - 'veeeq' => '≚', - 'vellip' => '⋮', - 'Verbar' => '‖', - 'verbar' => '|', - 'Vert' => '‖', - 'vert' => '|', - 'VerticalBar' => '∣', - 'VerticalLine' => '|', - 'VerticalSeparator' => '❘', - 'VerticalTilde' => '≀', - 'VeryThinSpace' => ' ', - 'Vfr' => '𝔙', - 'vfr' => '𝔳', - 'vltri' => '⊲', - 'vnsub' => '⊂⃒', - 'vnsup' => '⊃⃒', - 'Vopf' => '𝕍', - 'vopf' => '𝕧', - 'vprop' => '∝', - 'vrtri' => '⊳', - 'Vscr' => '𝒱', - 'vscr' => '𝓋', - 'vsubnE' => '⫋︀', - 'vsubne' => '⊊︀', - 'vsupnE' => '⫌︀', - 'vsupne' => '⊋︀', - 'Vvdash' => '⊪', - 'vzigzag' => '⦚', - 'Wcirc' => 'Ŵ', - 'wcirc' => 'ŵ', - 'wedbar' => '⩟', - 'Wedge' => '⋀', - 'wedge' => '∧', - 'wedgeq' => '≙', - 'weierp' => '℘', - 'Wfr' => '𝔚', - 'wfr' => '𝔴', - 'Wopf' => '𝕎', - 'wopf' => '𝕨', - 'wp' => '℘', - 'wr' => '≀', - 'wreath' => '≀', - 'Wscr' => '𝒲', - 'wscr' => '𝓌', - 'xcap' => '⋂', - 'xcirc' => '◯', - 'xcup' => '⋃', - 'xdtri' => '▽', - 'Xfr' => '𝔛', - 'xfr' => '𝔵', - 'xhArr' => '⟺', - 'xharr' => '⟷', - 'Xi' => 'Ξ', - 'xi' => 'ξ', - 'xlArr' => '⟸', - 'xlarr' => '⟵', - 'xmap' => '⟼', - 'xnis' => '⋻', - 'xodot' => '⨀', - 'Xopf' => '𝕏', - 'xopf' => '𝕩', - 'xoplus' => '⨁', - 'xotime' => '⨂', - 'xrArr' => '⟹', - 'xrarr' => '⟶', - 'Xscr' => '𝒳', - 'xscr' => '𝓍', - 'xsqcup' => '⨆', - 'xuplus' => '⨄', - 'xutri' => '△', - 'xvee' => '⋁', - 'xwedge' => '⋀', - 'Yacute' => 'Ý', - 'Yacut' => 'Ý', - 'yacute' => 'ý', - 'yacut' => 'ý', - 'YAcy' => 'Я', - 'yacy' => 'я', - 'Ycirc' => 'Ŷ', - 'ycirc' => 'ŷ', - 'Ycy' => 'Ы', - 'ycy' => 'ы', - 'yen' => '¥', - 'ye' => '¥', - 'Yfr' => '𝔜', - 'yfr' => '𝔶', - 'YIcy' => 'Ї', - 'yicy' => 'ї', - 'Yopf' => '𝕐', - 'yopf' => '𝕪', - 'Yscr' => '𝒴', - 'yscr' => '𝓎', - 'YUcy' => 'Ю', - 'yucy' => 'ю', - 'Yuml' => 'Ÿ', - 'yuml' => 'ÿ', - 'yum' => 'ÿ', - 'Zacute' => 'Ź', - 'zacute' => 'ź', - 'Zcaron' => 'Ž', - 'zcaron' => 'ž', - 'Zcy' => 'З', - 'zcy' => 'з', - 'Zdot' => 'Ż', - 'zdot' => 'ż', - 'zeetrf' => 'ℨ', - 'ZeroWidthSpace' => '​', - 'Zeta' => 'Ζ', - 'zeta' => 'ζ', - 'Zfr' => 'ℨ', - 'zfr' => '𝔷', - 'ZHcy' => 'Ж', - 'zhcy' => 'ж', - 'zigrarr' => '⇝', - 'Zopf' => 'ℤ', - 'zopf' => '𝕫', - 'Zscr' => '𝒵', - 'zscr' => '𝓏', - 'zwj' => '‍', - 'zwnj' => '‌' + 'NotNestedLessLess' => '⪡̸', + 'notni' => '∌', + 'notniva' => '∌', + 'notnivb' => '⋾', + 'notnivc' => '⋽', + 'NotPrecedes' => '⊀', + 'NotPrecedesEqual' => '⪯̸', + 'NotPrecedesSlantEqual' => '⋠', + 'NotReverseElement' => '∌', + 'NotRightTriangle' => '⋫', + 'NotRightTriangleBar' => '⧐̸', + 'NotRightTriangleEqual' => '⋭', + 'NotSquareSubset' => '⊏̸', + 'NotSquareSubsetEqual' => '⋢', + 'NotSquareSuperset' => '⊐̸', + 'NotSquareSupersetEqual' => '⋣', + 'NotSubset' => '⊂⃒', + 'NotSubsetEqual' => '⊈', + 'NotSucceeds' => '⊁', + 'NotSucceedsEqual' => '⪰̸', + 'NotSucceedsSlantEqual' => '⋡', + 'NotSucceedsTilde' => '≿̸', + 'NotSuperset' => '⊃⃒', + 'NotSupersetEqual' => '⊉', + 'NotTilde' => '≁', + 'NotTildeEqual' => '≄', + 'NotTildeFullEqual' => '≇', + 'NotTildeTilde' => '≉', + 'NotVerticalBar' => '∤', + 'npar' => '∦', + 'nparallel' => '∦', + 'nparsl' => '⫽⃥', + 'npart' => '∂̸', + 'npolint' => '⨔', + 'npr' => '⊀', + 'nprcue' => '⋠', + 'npre' => '⪯̸', + 'nprec' => '⊀', + 'npreceq' => '⪯̸', + 'nrArr' => '⇏', + 'nrarr' => '↛', + 'nrarrc' => '⤳̸', + 'nrarrw' => '↝̸', + 'nRightarrow' => '⇏', + 'nrightarrow' => '↛', + 'nrtri' => '⋫', + 'nrtrie' => '⋭', + 'nsc' => '⊁', + 'nsccue' => '⋡', + 'nsce' => '⪰̸', + 'Nscr' => '𝒩', + 'nscr' => '𝓃', + 'nshortmid' => '∤', + 'nshortparallel' => '∦', + 'nsim' => '≁', + 'nsime' => '≄', + 'nsimeq' => '≄', + 'nsmid' => '∤', + 'nspar' => '∦', + 'nsqsube' => '⋢', + 'nsqsupe' => '⋣', + 'nsub' => '⊄', + 'nsubE' => '⫅̸', + 'nsube' => '⊈', + 'nsubset' => '⊂⃒', + 'nsubseteq' => '⊈', + 'nsubseteqq' => '⫅̸', + 'nsucc' => '⊁', + 'nsucceq' => '⪰̸', + 'nsup' => '⊅', + 'nsupE' => '⫆̸', + 'nsupe' => '⊉', + 'nsupset' => '⊃⃒', + 'nsupseteq' => '⊉', + 'nsupseteqq' => '⫆̸', + 'ntgl' => '≹', + 'Ntilde' => 'Ñ', + 'Ntild' => 'Ñ', + 'ntilde' => 'ñ', + 'ntild' => 'ñ', + 'ntlg' => '≸', + 'ntriangleleft' => '⋪', + 'ntrianglelefteq' => '⋬', + 'ntriangleright' => '⋫', + 'ntrianglerighteq' => '⋭', + 'Nu' => 'Ν', + 'nu' => 'ν', + 'num' => '#', + 'numero' => '№', + 'numsp' => ' ', + 'nvap' => '≍⃒', + 'nVDash' => '⊯', + 'nVdash' => '⊮', + 'nvDash' => '⊭', + 'nvdash' => '⊬', + 'nvge' => '≥⃒', + 'nvgt' => '>⃒', + 'nvHarr' => '⤄', + 'nvinfin' => '⧞', + 'nvlArr' => '⤂', + 'nvle' => '≤⃒', + 'nvlt' => '<⃒', + 'nvltrie' => '⊴⃒', + 'nvrArr' => '⤃', + 'nvrtrie' => '⊵⃒', + 'nvsim' => '∼⃒', + 'nwarhk' => '⤣', + 'nwArr' => '⇖', + 'nwarr' => '↖', + 'nwarrow' => '↖', + 'nwnear' => '⤧', + 'Oacute' => 'Ó', + 'Oacut' => 'Ó', + 'oacute' => 'ó', + 'oacut' => 'ó', + 'oast' => '⊛', + 'ocir' => 'ô', + 'Ocirc' => 'Ô', + 'Ocir' => 'Ô', + 'ocirc' => 'ô', + 'Ocy' => 'О', + 'ocy' => 'о', + 'odash' => '⊝', + 'Odblac' => 'Ő', + 'odblac' => 'ő', + 'odiv' => '⨸', + 'odot' => '⊙', + 'odsold' => '⦼', + 'OElig' => 'Œ', + 'oelig' => 'œ', + 'ofcir' => '⦿', + 'Ofr' => '𝔒', + 'ofr' => '𝔬', + 'ogon' => '˛', + 'Ograve' => 'Ò', + 'Ograv' => 'Ò', + 'ograve' => 'ò', + 'ograv' => 'ò', + 'ogt' => '⧁', + 'ohbar' => '⦵', + 'ohm' => 'Ω', + 'oint' => '∮', + 'olarr' => '↺', + 'olcir' => '⦾', + 'olcross' => '⦻', + 'oline' => '‾', + 'olt' => '⧀', + 'Omacr' => 'Ō', + 'omacr' => 'ō', + 'Omega' => 'Ω', + 'omega' => 'ω', + 'Omicron' => 'Ο', + 'omicron' => 'ο', + 'omid' => '⦶', + 'ominus' => '⊖', + 'Oopf' => '𝕆', + 'oopf' => '𝕠', + 'opar' => '⦷', + 'OpenCurlyDoubleQuote' => '“', + 'OpenCurlyQuote' => '‘', + 'operp' => '⦹', + 'oplus' => '⊕', + 'Or' => '⩔', + 'or' => '∨', + 'orarr' => '↻', + 'ord' => 'º', + 'order' => 'ℴ', + 'orderof' => 'ℴ', + 'ordf' => 'ª', + 'ordm' => 'º', + 'origof' => '⊶', + 'oror' => '⩖', + 'orslope' => '⩗', + 'orv' => '⩛', + 'oS' => 'Ⓢ', + 'Oscr' => '𝒪', + 'oscr' => 'ℴ', + 'Oslash' => 'Ø', + 'Oslas' => 'Ø', + 'oslash' => 'ø', + 'oslas' => 'ø', + 'osol' => '⊘', + 'Otilde' => 'Õ', + 'Otild' => 'Õ', + 'otilde' => 'õ', + 'otild' => 'õ', + 'Otimes' => '⨷', + 'otimes' => '⊗', + 'otimesas' => '⨶', + 'Ouml' => 'Ö', + 'Oum' => 'Ö', + 'ouml' => 'ö', + 'oum' => 'ö', + 'ovbar' => '⌽', + 'OverBar' => '‾', + 'OverBrace' => '⏞', + 'OverBracket' => '⎴', + 'OverParenthesis' => '⏜', + 'par' => '¶', + 'para' => '¶', + 'parallel' => '∥', + 'parsim' => '⫳', + 'parsl' => '⫽', + 'part' => '∂', + 'PartialD' => '∂', + 'Pcy' => 'П', + 'pcy' => 'п', + 'percnt' => '%', + 'period' => '.', + 'permil' => '‰', + 'perp' => '⊥', + 'pertenk' => '‱', + 'Pfr' => '𝔓', + 'pfr' => '𝔭', + 'Phi' => 'Φ', + 'phi' => 'φ', + 'phiv' => 'ϕ', + 'phmmat' => 'ℳ', + 'phone' => '☎', + 'Pi' => 'Π', + 'pi' => 'π', + 'pitchfork' => '⋔', + 'piv' => 'ϖ', + 'planck' => 'ℏ', + 'planckh' => 'ℎ', + 'plankv' => 'ℏ', + 'plus' => '+', + 'plusacir' => '⨣', + 'plusb' => '⊞', + 'pluscir' => '⨢', + 'plusdo' => '∔', + 'plusdu' => '⨥', + 'pluse' => '⩲', + 'PlusMinus' => '±', + 'plusmn' => '±', + 'plusm' => '±', + 'plussim' => '⨦', + 'plustwo' => '⨧', + 'pm' => '±', + 'Poincareplane' => 'ℌ', + 'pointint' => '⨕', + 'Popf' => 'ℙ', + 'popf' => '𝕡', + 'pound' => '£', + 'poun' => '£', + 'Pr' => '⪻', + 'pr' => '≺', + 'prap' => '⪷', + 'prcue' => '≼', + 'prE' => '⪳', + 'pre' => '⪯', + 'prec' => '≺', + 'precapprox' => '⪷', + 'preccurlyeq' => '≼', + 'Precedes' => '≺', + 'PrecedesEqual' => '⪯', + 'PrecedesSlantEqual' => '≼', + 'PrecedesTilde' => '≾', + 'preceq' => '⪯', + 'precnapprox' => '⪹', + 'precneqq' => '⪵', + 'precnsim' => '⋨', + 'precsim' => '≾', + 'Prime' => '″', + 'prime' => '′', + 'primes' => 'ℙ', + 'prnap' => '⪹', + 'prnE' => '⪵', + 'prnsim' => '⋨', + 'prod' => '∏', + 'Product' => '∏', + 'profalar' => '⌮', + 'profline' => '⌒', + 'profsurf' => '⌓', + 'prop' => '∝', + 'Proportion' => '∷', + 'Proportional' => '∝', + 'propto' => '∝', + 'prsim' => '≾', + 'prurel' => '⊰', + 'Pscr' => '𝒫', + 'pscr' => '𝓅', + 'Psi' => 'Ψ', + 'psi' => 'ψ', + 'puncsp' => ' ', + 'Qfr' => '𝔔', + 'qfr' => '𝔮', + 'qint' => '⨌', + 'Qopf' => 'ℚ', + 'qopf' => '𝕢', + 'qprime' => '⁗', + 'Qscr' => '𝒬', + 'qscr' => '𝓆', + 'quaternions' => 'ℍ', + 'quatint' => '⨖', + 'quest' => '?', + 'questeq' => '≟', + 'QUOT' => '"', + 'QUO' => '"', + 'quot' => '"', + 'quo' => '"', + 'rAarr' => '⇛', + 'race' => '∽̱', + 'Racute' => 'Ŕ', + 'racute' => 'ŕ', + 'radic' => '√', + 'raemptyv' => '⦳', + 'Rang' => '⟫', + 'rang' => '⟩', + 'rangd' => '⦒', + 'range' => '⦥', + 'rangle' => '⟩', + 'raquo' => '»', + 'raqu' => '»', + 'Rarr' => '↠', + 'rArr' => '⇒', + 'rarr' => '→', + 'rarrap' => '⥵', + 'rarrb' => '⇥', + 'rarrbfs' => '⤠', + 'rarrc' => '⤳', + 'rarrfs' => '⤞', + 'rarrhk' => '↪', + 'rarrlp' => '↬', + 'rarrpl' => '⥅', + 'rarrsim' => '⥴', + 'Rarrtl' => '⤖', + 'rarrtl' => '↣', + 'rarrw' => '↝', + 'rAtail' => '⤜', + 'ratail' => '⤚', + 'ratio' => '∶', + 'rationals' => 'ℚ', + 'RBarr' => '⤐', + 'rBarr' => '⤏', + 'rbarr' => '⤍', + 'rbbrk' => '❳', + 'rbrace' => '}', + 'rbrack' => ']', + 'rbrke' => '⦌', + 'rbrksld' => '⦎', + 'rbrkslu' => '⦐', + 'Rcaron' => 'Ř', + 'rcaron' => 'ř', + 'Rcedil' => 'Ŗ', + 'rcedil' => 'ŗ', + 'rceil' => '⌉', + 'rcub' => '}', + 'Rcy' => 'Р', + 'rcy' => 'р', + 'rdca' => '⤷', + 'rdldhar' => '⥩', + 'rdquo' => '”', + 'rdquor' => '”', + 'rdsh' => '↳', + 'Re' => 'ℜ', + 'real' => 'ℜ', + 'realine' => 'ℛ', + 'realpart' => 'ℜ', + 'reals' => 'ℝ', + 'rect' => '▭', + 'REG' => '®', + 'RE' => '®', + 'reg' => '®', + 're' => '®', + 'ReverseElement' => '∋', + 'ReverseEquilibrium' => '⇋', + 'ReverseUpEquilibrium' => '⥯', + 'rfisht' => '⥽', + 'rfloor' => '⌋', + 'Rfr' => 'ℜ', + 'rfr' => '𝔯', + 'rHar' => '⥤', + 'rhard' => '⇁', + 'rharu' => '⇀', + 'rharul' => '⥬', + 'Rho' => 'Ρ', + 'rho' => 'ρ', + 'rhov' => 'ϱ', + 'RightAngleBracket' => '⟩', + 'RightArrow' => '→', + 'Rightarrow' => '⇒', + 'rightarrow' => '→', + 'RightArrowBar' => '⇥', + 'RightArrowLeftArrow' => '⇄', + 'rightarrowtail' => '↣', + 'RightCeiling' => '⌉', + 'RightDoubleBracket' => '⟧', + 'RightDownTeeVector' => '⥝', + 'RightDownVector' => '⇂', + 'RightDownVectorBar' => '⥕', + 'RightFloor' => '⌋', + 'rightharpoondown' => '⇁', + 'rightharpoonup' => '⇀', + 'rightleftarrows' => '⇄', + 'rightleftharpoons' => '⇌', + 'rightrightarrows' => '⇉', + 'rightsquigarrow' => '↝', + 'RightTee' => '⊢', + 'RightTeeArrow' => '↦', + 'RightTeeVector' => '⥛', + 'rightthreetimes' => '⋌', + 'RightTriangle' => '⊳', + 'RightTriangleBar' => '⧐', + 'RightTriangleEqual' => '⊵', + 'RightUpDownVector' => '⥏', + 'RightUpTeeVector' => '⥜', + 'RightUpVector' => '↾', + 'RightUpVectorBar' => '⥔', + 'RightVector' => '⇀', + 'RightVectorBar' => '⥓', + 'ring' => '˚', + 'risingdotseq' => '≓', + 'rlarr' => '⇄', + 'rlhar' => '⇌', + 'rlm' => '‏', + 'rmoust' => '⎱', + 'rmoustache' => '⎱', + 'rnmid' => '⫮', + 'roang' => '⟭', + 'roarr' => '⇾', + 'robrk' => '⟧', + 'ropar' => '⦆', + 'Ropf' => 'ℝ', + 'ropf' => '𝕣', + 'roplus' => '⨮', + 'rotimes' => '⨵', + 'RoundImplies' => '⥰', + 'rpar' => ')', + 'rpargt' => '⦔', + 'rppolint' => '⨒', + 'rrarr' => '⇉', + 'Rrightarrow' => '⇛', + 'rsaquo' => '›', + 'Rscr' => 'ℛ', + 'rscr' => '𝓇', + 'Rsh' => '↱', + 'rsh' => '↱', + 'rsqb' => ']', + 'rsquo' => '’', + 'rsquor' => '’', + 'rthree' => '⋌', + 'rtimes' => '⋊', + 'rtri' => '▹', + 'rtrie' => '⊵', + 'rtrif' => '▸', + 'rtriltri' => '⧎', + 'RuleDelayed' => '⧴', + 'ruluhar' => '⥨', + 'rx' => '℞', + 'Sacute' => 'Ś', + 'sacute' => 'ś', + 'sbquo' => '‚', + 'Sc' => '⪼', + 'sc' => '≻', + 'scap' => '⪸', + 'Scaron' => 'Š', + 'scaron' => 'š', + 'sccue' => '≽', + 'scE' => '⪴', + 'sce' => '⪰', + 'Scedil' => 'Ş', + 'scedil' => 'ş', + 'Scirc' => 'Ŝ', + 'scirc' => 'ŝ', + 'scnap' => '⪺', + 'scnE' => '⪶', + 'scnsim' => '⋩', + 'scpolint' => '⨓', + 'scsim' => '≿', + 'Scy' => 'С', + 'scy' => 'с', + 'sdot' => '⋅', + 'sdotb' => '⊡', + 'sdote' => '⩦', + 'searhk' => '⤥', + 'seArr' => '⇘', + 'searr' => '↘', + 'searrow' => '↘', + 'sect' => '§', + 'sec' => '§', + 'semi' => ';', + 'seswar' => '⤩', + 'setminus' => '∖', + 'setmn' => '∖', + 'sext' => '✶', + 'Sfr' => '𝔖', + 'sfr' => '𝔰', + 'sfrown' => '⌢', + 'sharp' => '♯', + 'SHCHcy' => 'Щ', + 'shchcy' => 'щ', + 'SHcy' => 'Ш', + 'shcy' => 'ш', + 'ShortDownArrow' => '↓', + 'ShortLeftArrow' => '←', + 'shortmid' => '∣', + 'shortparallel' => '∥', + 'ShortRightArrow' => '→', + 'ShortUpArrow' => '↑', + 'shy' => '­', + 'sh' => '­', + 'Sigma' => 'Σ', + 'sigma' => 'σ', + 'sigmaf' => 'ς', + 'sigmav' => 'ς', + 'sim' => '∼', + 'simdot' => '⩪', + 'sime' => '≃', + 'simeq' => '≃', + 'simg' => '⪞', + 'simgE' => '⪠', + 'siml' => '⪝', + 'simlE' => '⪟', + 'simne' => '≆', + 'simplus' => '⨤', + 'simrarr' => '⥲', + 'slarr' => '←', + 'SmallCircle' => '∘', + 'smallsetminus' => '∖', + 'smashp' => '⨳', + 'smeparsl' => '⧤', + 'smid' => '∣', + 'smile' => '⌣', + 'smt' => '⪪', + 'smte' => '⪬', + 'smtes' => '⪬︀', + 'SOFTcy' => 'Ь', + 'softcy' => 'ь', + 'sol' => '/', + 'solb' => '⧄', + 'solbar' => '⌿', + 'Sopf' => '𝕊', + 'sopf' => '𝕤', + 'spades' => '♠', + 'spadesuit' => '♠', + 'spar' => '∥', + 'sqcap' => '⊓', + 'sqcaps' => '⊓︀', + 'sqcup' => '⊔', + 'sqcups' => '⊔︀', + 'Sqrt' => '√', + 'sqsub' => '⊏', + 'sqsube' => '⊑', + 'sqsubset' => '⊏', + 'sqsubseteq' => '⊑', + 'sqsup' => '⊐', + 'sqsupe' => '⊒', + 'sqsupset' => '⊐', + 'sqsupseteq' => '⊒', + 'squ' => '□', + 'Square' => '□', + 'square' => '□', + 'SquareIntersection' => '⊓', + 'SquareSubset' => '⊏', + 'SquareSubsetEqual' => '⊑', + 'SquareSuperset' => '⊐', + 'SquareSupersetEqual' => '⊒', + 'SquareUnion' => '⊔', + 'squarf' => '▪', + 'squf' => '▪', + 'srarr' => '→', + 'Sscr' => '𝒮', + 'sscr' => '𝓈', + 'ssetmn' => '∖', + 'ssmile' => '⌣', + 'sstarf' => '⋆', + 'Star' => '⋆', + 'star' => '☆', + 'starf' => '★', + 'straightepsilon' => 'ϵ', + 'straightphi' => 'ϕ', + 'strns' => '¯', + 'Sub' => '⋐', + 'sub' => '⊂', + 'subdot' => '⪽', + 'subE' => '⫅', + 'sube' => '⊆', + 'subedot' => '⫃', + 'submult' => '⫁', + 'subnE' => '⫋', + 'subne' => '⊊', + 'subplus' => '⪿', + 'subrarr' => '⥹', + 'Subset' => '⋐', + 'subset' => '⊂', + 'subseteq' => '⊆', + 'subseteqq' => '⫅', + 'SubsetEqual' => '⊆', + 'subsetneq' => '⊊', + 'subsetneqq' => '⫋', + 'subsim' => '⫇', + 'subsub' => '⫕', + 'subsup' => '⫓', + 'succ' => '≻', + 'succapprox' => '⪸', + 'succcurlyeq' => '≽', + 'Succeeds' => '≻', + 'SucceedsEqual' => '⪰', + 'SucceedsSlantEqual' => '≽', + 'SucceedsTilde' => '≿', + 'succeq' => '⪰', + 'succnapprox' => '⪺', + 'succneqq' => '⪶', + 'succnsim' => '⋩', + 'succsim' => '≿', + 'SuchThat' => '∋', + 'Sum' => '∑', + 'sum' => '∑', + 'sung' => '♪', + 'Sup' => '⋑', + 'sup' => '³', + 'sup1' => '¹', + 'sup2' => '²', + 'sup3' => '³', + 'supdot' => '⪾', + 'supdsub' => '⫘', + 'supE' => '⫆', + 'supe' => '⊇', + 'supedot' => '⫄', + 'Superset' => '⊃', + 'SupersetEqual' => '⊇', + 'suphsol' => '⟉', + 'suphsub' => '⫗', + 'suplarr' => '⥻', + 'supmult' => '⫂', + 'supnE' => '⫌', + 'supne' => '⊋', + 'supplus' => '⫀', + 'Supset' => '⋑', + 'supset' => '⊃', + 'supseteq' => '⊇', + 'supseteqq' => '⫆', + 'supsetneq' => '⊋', + 'supsetneqq' => '⫌', + 'supsim' => '⫈', + 'supsub' => '⫔', + 'supsup' => '⫖', + 'swarhk' => '⤦', + 'swArr' => '⇙', + 'swarr' => '↙', + 'swarrow' => '↙', + 'swnwar' => '⤪', + 'szlig' => 'ß', + 'szli' => 'ß', + 'Tab' => ' ', + 'target' => '⌖', + 'Tau' => 'Τ', + 'tau' => 'τ', + 'tbrk' => '⎴', + 'Tcaron' => 'Ť', + 'tcaron' => 'ť', + 'Tcedil' => 'Ţ', + 'tcedil' => 'ţ', + 'Tcy' => 'Т', + 'tcy' => 'т', + 'tdot' => '⃛', + 'telrec' => '⌕', + 'Tfr' => '𝔗', + 'tfr' => '𝔱', + 'there4' => '∴', + 'Therefore' => '∴', + 'therefore' => '∴', + 'Theta' => 'Θ', + 'theta' => 'θ', + 'thetasym' => 'ϑ', + 'thetav' => 'ϑ', + 'thickapprox' => '≈', + 'thicksim' => '∼', + 'ThickSpace' => '  ', + 'thinsp' => ' ', + 'ThinSpace' => ' ', + 'thkap' => '≈', + 'thksim' => '∼', + 'THORN' => 'Þ', + 'THOR' => 'Þ', + 'thorn' => 'þ', + 'thor' => 'þ', + 'Tilde' => '∼', + 'tilde' => '˜', + 'TildeEqual' => '≃', + 'TildeFullEqual' => '≅', + 'TildeTilde' => '≈', + 'times' => '×', + 'time' => '×', + 'timesb' => '⊠', + 'timesbar' => '⨱', + 'timesd' => '⨰', + 'tint' => '∭', + 'toea' => '⤨', + 'top' => '⊤', + 'topbot' => '⌶', + 'topcir' => '⫱', + 'Topf' => '𝕋', + 'topf' => '𝕥', + 'topfork' => '⫚', + 'tosa' => '⤩', + 'tprime' => '‴', + 'TRADE' => '™', + 'trade' => '™', + 'triangle' => '▵', + 'triangledown' => '▿', + 'triangleleft' => '◃', + 'trianglelefteq' => '⊴', + 'triangleq' => '≜', + 'triangleright' => '▹', + 'trianglerighteq' => '⊵', + 'tridot' => '◬', + 'trie' => '≜', + 'triminus' => '⨺', + 'TripleDot' => '⃛', + 'triplus' => '⨹', + 'trisb' => '⧍', + 'tritime' => '⨻', + 'trpezium' => '⏢', + 'Tscr' => '𝒯', + 'tscr' => '𝓉', + 'TScy' => 'Ц', + 'tscy' => 'ц', + 'TSHcy' => 'Ћ', + 'tshcy' => 'ћ', + 'Tstrok' => 'Ŧ', + 'tstrok' => 'ŧ', + 'twixt' => '≬', + 'twoheadleftarrow' => '↞', + 'twoheadrightarrow' => '↠', + 'Uacute' => 'Ú', + 'Uacut' => 'Ú', + 'uacute' => 'ú', + 'uacut' => 'ú', + 'Uarr' => '↟', + 'uArr' => '⇑', + 'uarr' => '↑', + 'Uarrocir' => '⥉', + 'Ubrcy' => 'Ў', + 'ubrcy' => 'ў', + 'Ubreve' => 'Ŭ', + 'ubreve' => 'ŭ', + 'Ucirc' => 'Û', + 'Ucir' => 'Û', + 'ucirc' => 'û', + 'ucir' => 'û', + 'Ucy' => 'У', + 'ucy' => 'у', + 'udarr' => '⇅', + 'Udblac' => 'Ű', + 'udblac' => 'ű', + 'udhar' => '⥮', + 'ufisht' => '⥾', + 'Ufr' => '𝔘', + 'ufr' => '𝔲', + 'Ugrave' => 'Ù', + 'Ugrav' => 'Ù', + 'ugrave' => 'ù', + 'ugrav' => 'ù', + 'uHar' => '⥣', + 'uharl' => '↿', + 'uharr' => '↾', + 'uhblk' => '▀', + 'ulcorn' => '⌜', + 'ulcorner' => '⌜', + 'ulcrop' => '⌏', + 'ultri' => '◸', + 'Umacr' => 'Ū', + 'umacr' => 'ū', + 'uml' => '¨', + 'um' => '¨', + 'UnderBar' => '_', + 'UnderBrace' => '⏟', + 'UnderBracket' => '⎵', + 'UnderParenthesis' => '⏝', + 'Union' => '⋃', + 'UnionPlus' => '⊎', + 'Uogon' => 'Ų', + 'uogon' => 'ų', + 'Uopf' => '𝕌', + 'uopf' => '𝕦', + 'UpArrow' => '↑', + 'Uparrow' => '⇑', + 'uparrow' => '↑', + 'UpArrowBar' => '⤒', + 'UpArrowDownArrow' => '⇅', + 'UpDownArrow' => '↕', + 'Updownarrow' => '⇕', + 'updownarrow' => '↕', + 'UpEquilibrium' => '⥮', + 'upharpoonleft' => '↿', + 'upharpoonright' => '↾', + 'uplus' => '⊎', + 'UpperLeftArrow' => '↖', + 'UpperRightArrow' => '↗', + 'Upsi' => 'ϒ', + 'upsi' => 'υ', + 'upsih' => 'ϒ', + 'Upsilon' => 'Υ', + 'upsilon' => 'υ', + 'UpTee' => '⊥', + 'UpTeeArrow' => '↥', + 'upuparrows' => '⇈', + 'urcorn' => '⌝', + 'urcorner' => '⌝', + 'urcrop' => '⌎', + 'Uring' => 'Ů', + 'uring' => 'ů', + 'urtri' => '◹', + 'Uscr' => '𝒰', + 'uscr' => '𝓊', + 'utdot' => '⋰', + 'Utilde' => 'Ũ', + 'utilde' => 'ũ', + 'utri' => '▵', + 'utrif' => '▴', + 'uuarr' => '⇈', + 'Uuml' => 'Ü', + 'Uum' => 'Ü', + 'uuml' => 'ü', + 'uum' => 'ü', + 'uwangle' => '⦧', + 'vangrt' => '⦜', + 'varepsilon' => 'ϵ', + 'varkappa' => 'ϰ', + 'varnothing' => '∅', + 'varphi' => 'ϕ', + 'varpi' => 'ϖ', + 'varpropto' => '∝', + 'vArr' => '⇕', + 'varr' => '↕', + 'varrho' => 'ϱ', + 'varsigma' => 'ς', + 'varsubsetneq' => '⊊︀', + 'varsubsetneqq' => '⫋︀', + 'varsupsetneq' => '⊋︀', + 'varsupsetneqq' => '⫌︀', + 'vartheta' => 'ϑ', + 'vartriangleleft' => '⊲', + 'vartriangleright' => '⊳', + 'Vbar' => '⫫', + 'vBar' => '⫨', + 'vBarv' => '⫩', + 'Vcy' => 'В', + 'vcy' => 'в', + 'VDash' => '⊫', + 'Vdash' => '⊩', + 'vDash' => '⊨', + 'vdash' => '⊢', + 'Vdashl' => '⫦', + 'Vee' => '⋁', + 'vee' => '∨', + 'veebar' => '⊻', + 'veeeq' => '≚', + 'vellip' => '⋮', + 'Verbar' => '‖', + 'verbar' => '|', + 'Vert' => '‖', + 'vert' => '|', + 'VerticalBar' => '∣', + 'VerticalLine' => '|', + 'VerticalSeparator' => '❘', + 'VerticalTilde' => '≀', + 'VeryThinSpace' => ' ', + 'Vfr' => '𝔙', + 'vfr' => '𝔳', + 'vltri' => '⊲', + 'vnsub' => '⊂⃒', + 'vnsup' => '⊃⃒', + 'Vopf' => '𝕍', + 'vopf' => '𝕧', + 'vprop' => '∝', + 'vrtri' => '⊳', + 'Vscr' => '𝒱', + 'vscr' => '𝓋', + 'vsubnE' => '⫋︀', + 'vsubne' => '⊊︀', + 'vsupnE' => '⫌︀', + 'vsupne' => '⊋︀', + 'Vvdash' => '⊪', + 'vzigzag' => '⦚', + 'Wcirc' => 'Ŵ', + 'wcirc' => 'ŵ', + 'wedbar' => '⩟', + 'Wedge' => '⋀', + 'wedge' => '∧', + 'wedgeq' => '≙', + 'weierp' => '℘', + 'Wfr' => '𝔚', + 'wfr' => '𝔴', + 'Wopf' => '𝕎', + 'wopf' => '𝕨', + 'wp' => '℘', + 'wr' => '≀', + 'wreath' => '≀', + 'Wscr' => '𝒲', + 'wscr' => '𝓌', + 'xcap' => '⋂', + 'xcirc' => '◯', + 'xcup' => '⋃', + 'xdtri' => '▽', + 'Xfr' => '𝔛', + 'xfr' => '𝔵', + 'xhArr' => '⟺', + 'xharr' => '⟷', + 'Xi' => 'Ξ', + 'xi' => 'ξ', + 'xlArr' => '⟸', + 'xlarr' => '⟵', + 'xmap' => '⟼', + 'xnis' => '⋻', + 'xodot' => '⨀', + 'Xopf' => '𝕏', + 'xopf' => '𝕩', + 'xoplus' => '⨁', + 'xotime' => '⨂', + 'xrArr' => '⟹', + 'xrarr' => '⟶', + 'Xscr' => '𝒳', + 'xscr' => '𝓍', + 'xsqcup' => '⨆', + 'xuplus' => '⨄', + 'xutri' => '△', + 'xvee' => '⋁', + 'xwedge' => '⋀', + 'Yacute' => 'Ý', + 'Yacut' => 'Ý', + 'yacute' => 'ý', + 'yacut' => 'ý', + 'YAcy' => 'Я', + 'yacy' => 'я', + 'Ycirc' => 'Ŷ', + 'ycirc' => 'ŷ', + 'Ycy' => 'Ы', + 'ycy' => 'ы', + 'yen' => '¥', + 'ye' => '¥', + 'Yfr' => '𝔜', + 'yfr' => '𝔶', + 'YIcy' => 'Ї', + 'yicy' => 'ї', + 'Yopf' => '𝕐', + 'yopf' => '𝕪', + 'Yscr' => '𝒴', + 'yscr' => '𝓎', + 'YUcy' => 'Ю', + 'yucy' => 'ю', + 'Yuml' => 'Ÿ', + 'yuml' => 'ÿ', + 'yum' => 'ÿ', + 'Zacute' => 'Ź', + 'zacute' => 'ź', + 'Zcaron' => 'Ž', + 'zcaron' => 'ž', + 'Zcy' => 'З', + 'zcy' => 'з', + 'Zdot' => 'Ż', + 'zdot' => 'ż', + 'zeetrf' => 'ℨ', + 'ZeroWidthSpace' => '​', + 'Zeta' => 'Ζ', + 'zeta' => 'ζ', + 'Zfr' => 'ℨ', + 'zfr' => '𝔷', + 'ZHcy' => 'Ж', + 'zhcy' => 'ж', + 'zigrarr' => '⇝', + 'Zopf' => 'ℤ', + 'zopf' => '𝕫', + 'Zscr' => '𝒵', + 'zscr' => '𝓏', + 'zwj' => '‍', + 'zwnj' => '‌', ]; /** @@ -2254,7 +2254,7 @@ public static function decodeEntity($entity) } if (substr($entity, 0, 2) === '&#') { - if (strtolower(substr($entity, 2, 1)) == 'x') { + if (strtolower(substr($entity, 2, 1)) === 'x') { return self::fromHex(substr($entity, 3, -1)); } else { return self::fromDecimal(substr($entity, 2, -1)); diff --git a/src/Util/LinkParserHelper.php b/src/Util/LinkParserHelper.php index 957ee18f96..ffb4050ba3 100644 --- a/src/Util/LinkParserHelper.php +++ b/src/Util/LinkParserHelper.php @@ -41,7 +41,7 @@ public static function parseLinkDestination(Cursor $cursor) RegexHelper::unescape($res) ); } else { - return null; + return; } } } @@ -77,7 +77,7 @@ public static function parseLinkTitle(Cursor $cursor) // Chop off quotes from title and unescape return RegexHelper::unescape(substr($title, 1, strlen($title) - 2)); } else { - return null; + return; } } } diff --git a/src/Util/RegexHelper.php b/src/Util/RegexHelper.php index 07cc2ea809..d8a73fa1ab 100644 --- a/src/Util/RegexHelper.php +++ b/src/Util/RegexHelper.php @@ -73,7 +73,7 @@ protected function __construct() public static function getInstance() { if (self::$instance === null) { - self::$instance = new RegexHelper(); + self::$instance = new self(); } return self::$instance; @@ -126,6 +126,7 @@ protected function buildRegexPatterns() * Returns a partial regex * * It'll need to be wrapped with /.../ before use + * * @param int $const * * @return string @@ -177,6 +178,7 @@ public function getHRuleRegex() /** * Attempt to match a regex in string s at offset offset + * * @param string $regex * @param string $string * @param int $offset @@ -188,7 +190,7 @@ public static function matchAt($regex, $string, $offset = 0) $matches = []; $string = mb_substr($string, $offset, null, 'utf-8'); if (!preg_match($regex, $string, $matches, PREG_OFFSET_CAPTURE)) { - return null; + return; } // PREG_OFFSET_CAPTURE always returns the byte offset, not the char offset, which is annoying @@ -214,10 +216,10 @@ public static function matchAll($pattern, $subject, $offset = 0) $fullMatches = reset($matches); if (empty($fullMatches)) { - return null; + return; } - if (count($fullMatches) == 1) { + if (count($fullMatches) === 1) { foreach ($matches as &$match) { $match = reset($match); } @@ -228,6 +230,7 @@ public static function matchAll($pattern, $subject, $offset = 0) /** * Replace backslash escapes with literal characters + * * @param string $string * * @return string @@ -270,7 +273,7 @@ public static function getHtmlBlockOpenRegex($type) return '/^(?:' . $self->getPartialRegex(self::OPENTAG) . '|' . $self->getPartialRegex(self::CLOSETAG) . ')\\s*$/i'; } - return null; + return; } /** @@ -293,6 +296,6 @@ public static function getHtmlBlockCloseRegex($type) return '/\]\]>/'; } - return null; + return; } } diff --git a/src/Util/UrlEncoder.php b/src/Util/UrlEncoder.php index b6e4123077..071d1b3ccf 100644 --- a/src/Util/UrlEncoder.php +++ b/src/Util/UrlEncoder.php @@ -36,7 +36,7 @@ class UrlEncoder '%3F' => '?', '%40' => '@', '%5F' => '_', - '%7E' => '~' + '%7E' => '~', ]; /** diff --git a/tests/benchmark/benchmark.php b/tests/benchmark/benchmark.php index fcdade27f2..10a9207562 100755 --- a/tests/benchmark/benchmark.php +++ b/tests/benchmark/benchmark.php @@ -32,7 +32,7 @@ 'Parsedown' => function ($markdown) { $parser = new Parsedown(); $parser->text($markdown); - } + }, ]; $iterations = 20; @@ -56,4 +56,3 @@ foreach ($results as $name => $ms) { printf("%-18s | %4d ms\n", $name, $ms); } - diff --git a/tests/bootstrap.php b/tests/bootstrap.php index d0b5660c71..23218eac09 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -9,4 +9,4 @@ * file that was distributed with this source code. */ -require_once __DIR__.'/../vendor/autoload.php'; +require_once __DIR__ . '/../vendor/autoload.php'; diff --git a/tests/functional/LocalDataTest.php b/tests/functional/LocalDataTest.php index c4466c974b..cc11c525e0 100644 --- a/tests/functional/LocalDataTest.php +++ b/tests/functional/LocalDataTest.php @@ -59,7 +59,7 @@ public function dataProvider() { $finder = new Finder(); $finder->files() - ->in(__DIR__.'/data') + ->in(__DIR__ . '/data') ->name('*.md'); $ret = []; @@ -68,7 +68,7 @@ public function dataProvider() foreach ($finder as $markdownFile) { $testName = $markdownFile->getBasename('.md'); $markdown = $markdownFile->getContents(); - $html = file_get_contents(__DIR__.'/data/'.$testName.'.html'); + $html = file_get_contents(__DIR__ . '/data/' . $testName . '.html'); $ret[] = [$markdown, $html, $testName]; } diff --git a/tests/functional/SmartPunctTest.php b/tests/functional/SmartPunctTest.php index fd2ac21ad8..73894069a1 100644 --- a/tests/functional/SmartPunctTest.php +++ b/tests/functional/SmartPunctTest.php @@ -14,10 +14,10 @@ namespace League\CommonMark\Tests\Functional; -use League\CommonMark\Environment; -use League\CommonMark\Extension\SmartPunctExtension; use League\CommonMark\Converter; use League\CommonMark\DocParser; +use League\CommonMark\Environment; +use League\CommonMark\Extension\SmartPunctExtension; use League\CommonMark\HtmlRenderer; /** @@ -77,7 +77,7 @@ public function dataProvider() preg_match_all('/^\.\n([\s\S]*?)^\.\n([\s\S]*?)^\.$|^#{1,6} *(.*)$/m', $data, $matches, PREG_SET_ORDER); $examples = []; - $currentSection = ""; + $currentSection = ''; $exampleNumber = 0; foreach ($matches as $match) { @@ -91,9 +91,9 @@ public function dataProvider() $examples[] = [ 'markdown' => $markdown, - 'html' => $match[2], - 'section' => $currentSection, - 'number' => $exampleNumber + 'html' => $match[2], + 'section' => $currentSection, + 'number' => $exampleNumber, ]; } } diff --git a/tests/functional/SpecTest.php b/tests/functional/SpecTest.php index a998ca53a8..b79eaac86e 100644 --- a/tests/functional/SpecTest.php +++ b/tests/functional/SpecTest.php @@ -42,8 +42,8 @@ protected function setUp() public function testExample($markdown, $html, $section, $number) { // Replace visible tabs in spec - $markdown = str_replace("→", "\t", $markdown); - $html = str_replace("→", "\t", $html); + $markdown = str_replace('→', "\t", $markdown); + $html = str_replace('→', "\t", $html); $actualResult = $this->converter->convertToHtml($markdown); @@ -72,7 +72,7 @@ public function dataProvider() preg_match_all('/^\.\n([\s\S]*?)^\.\n([\s\S]*?)^\.$|^#{1,6} *(.*)$/m', $data, $matches, PREG_SET_ORDER); $examples = []; - $currentSection = ""; + $currentSection = ''; $exampleNumber = 0; foreach ($matches as $match) { @@ -86,9 +86,9 @@ public function dataProvider() $examples[] = [ 'markdown' => $markdown, - 'html' => $match[2], - 'section' => $currentSection, - 'number' => $exampleNumber + 'html' => $match[2], + 'section' => $currentSection, + 'number' => $exampleNumber, ]; } } diff --git a/tests/unit/Block/Renderer/FencedCodeRendererTest.php b/tests/unit/Block/Renderer/FencedCodeRendererTest.php index 3ecd80e27e..4f6754e484 100644 --- a/tests/unit/Block/Renderer/FencedCodeRendererTest.php +++ b/tests/unit/Block/Renderer/FencedCodeRendererTest.php @@ -77,7 +77,6 @@ public function testRenderWithoutLanguageSpecified() $this->assertContains('::escape::', $code->getContents(true)); } - /** * @expectedException \InvalidArgumentException */ diff --git a/tests/unit/CursorTest.php b/tests/unit/CursorTest.php index 60cd7a439c..78bd737d1a 100644 --- a/tests/unit/CursorTest.php +++ b/tests/unit/CursorTest.php @@ -12,7 +12,6 @@ namespace League\CommonMark\Tests\Unit; use League\CommonMark\Cursor; -use Symfony\Component\Yaml\Parser; class CursorTest extends \PHPUnit_Framework_TestCase { diff --git a/tests/unit/EnvironmentTest.php b/tests/unit/EnvironmentTest.php index 43c16fa99c..7953004401 100644 --- a/tests/unit/EnvironmentTest.php +++ b/tests/unit/EnvironmentTest.php @@ -47,9 +47,9 @@ public function testGetConfig() { $config = [ 'foo' => 'bar', - 'a' => [ - 'b' => 'c' - ] + 'a' => [ + 'b' => 'c', + ], ]; $environment = new Environment($config); @@ -164,11 +164,11 @@ public function testSwapBuiltInBlockRenderer() 'Paragraph' => 'League\CommonMark\Block\Element\Paragraph', ]; - foreach ($builtInClasses as $name => $fullyQualifiedName){ + foreach ($builtInClasses as $name => $fullyQualifiedName) { $environment->addBlockRenderer($name, $mockRenderer); } - foreach ($builtInClasses as $name => $fullyQualifiedName){ + foreach ($builtInClasses as $name => $fullyQualifiedName) { $this->assertEquals( $mockRenderer, $environment->getBlockRendererForClass($fullyQualifiedName) @@ -193,11 +193,11 @@ public function testSwapBuiltInInlineRenderer() 'Text' => 'League\CommonMark\Inline\Element\Text', ]; - foreach ($builtInClasses as $name => $fullyQualifiedName){ + foreach ($builtInClasses as $name => $fullyQualifiedName) { $environment->addInlineRenderer($name, $mockRenderer); } - foreach ($builtInClasses as $name => $fullyQualifiedName){ + foreach ($builtInClasses as $name => $fullyQualifiedName) { $this->assertEquals( $mockRenderer, $environment->getInlineRendererForClass($fullyQualifiedName) @@ -205,7 +205,6 @@ public function testSwapBuiltInInlineRenderer() } } - /** * @expectedException \RuntimeException */ diff --git a/tests/unit/FakeEmptyHtmlRenderer.php b/tests/unit/FakeEmptyHtmlRenderer.php index d7651ce3ba..ea652e8272 100644 --- a/tests/unit/FakeEmptyHtmlRenderer.php +++ b/tests/unit/FakeEmptyHtmlRenderer.php @@ -21,19 +21,19 @@ class FakeEmptyHtmlRenderer implements ElementRendererInterface { /** - * @param string $option + * @param string $option * @param mixed|null $default * * @return mixed|null */ public function getOption($option, $default = null) { - return null; + return; } /** * @param string $string - * @param bool $preserveEntities + * @param bool $preserveEntities * * @return string */ @@ -54,11 +54,11 @@ public function renderInlines($inlines) /** * @param AbstractBlock $block - * @param bool $inTightList - * - * @return string + * @param bool $inTightList * * @throws \RuntimeException + * + * @return string */ public function renderBlock(AbstractBlock $block, $inTightList = false) { @@ -67,7 +67,7 @@ public function renderBlock(AbstractBlock $block, $inTightList = false) /** * @param AbstractBlock[] $blocks - * @param bool $inTightList + * @param bool $inTightList * * @return string */ diff --git a/tests/unit/FakeHtmlRenderer.php b/tests/unit/FakeHtmlRenderer.php index 22d730904f..ca9f895fb8 100644 --- a/tests/unit/FakeHtmlRenderer.php +++ b/tests/unit/FakeHtmlRenderer.php @@ -32,7 +32,7 @@ public function setOption($option, $value) } /** - * @param string $option + * @param string $option * @param mixed|null $default * * @return mixed|null @@ -48,7 +48,7 @@ public function getOption($option, $default = null) /** * @param string $string - * @param bool $preserveEntities + * @param bool $preserveEntities * * @return string */ @@ -69,11 +69,11 @@ public function renderInlines($inlines) /** * @param AbstractBlock $block - * @param bool $inTightList - * - * @return string + * @param bool $inTightList * * @throws \RuntimeException + * + * @return string */ public function renderBlock(AbstractBlock $block, $inTightList = false) { @@ -82,7 +82,7 @@ public function renderBlock(AbstractBlock $block, $inTightList = false) /** * @param AbstractBlock[] $blocks - * @param bool $inTightList + * @param bool $inTightList * * @return string */ diff --git a/tests/unit/Inline/Parser/BacktickParserTest.php b/tests/unit/Inline/Parser/BacktickParserTest.php index c5d5e3cb01..167e5cd40b 100644 --- a/tests/unit/Inline/Parser/BacktickParserTest.php +++ b/tests/unit/Inline/Parser/BacktickParserTest.php @@ -16,8 +16,8 @@ use League\CommonMark\Cursor; use League\CommonMark\Inline\Element\Code; -use League\CommonMark\InlineParserContext; use League\CommonMark\Inline\Parser\BacktickParser; +use League\CommonMark\InlineParserContext; class BacktickParserTest extends \PHPUnit_Framework_TestCase { diff --git a/tests/unit/Util/ArrayCollectionTest.php b/tests/unit/Util/ArrayCollectionTest.php index 15fe67061b..bbe0282db3 100644 --- a/tests/unit/Util/ArrayCollectionTest.php +++ b/tests/unit/Util/ArrayCollectionTest.php @@ -265,18 +265,18 @@ public function testSlice() $this->assertEquals(['foo' => 1], $collection->slice(0, 1)); $this->assertEquals([], $collection->slice(0, 0)); - $this->assertEquals([0 => 'bar', 1=> 'baz', 2 => 2], $collection->slice(1)); - $this->assertEquals([0 => 'bar', 1=> 'baz', 2 => 2], $collection->slice(1, null)); - $this->assertEquals([0 => 'bar', 1=> 'baz', 2 => 2], $collection->slice(1, 99)); - $this->assertEquals([0 => 'bar', 1=> 'baz', 2 => 2], $collection->slice(1, 3)); - $this->assertEquals([0 => 'bar', 1=> 'baz'], $collection->slice(1, 2)); + $this->assertEquals([0 => 'bar', 1 => 'baz', 2 => 2], $collection->slice(1)); + $this->assertEquals([0 => 'bar', 1 => 'baz', 2 => 2], $collection->slice(1, null)); + $this->assertEquals([0 => 'bar', 1 => 'baz', 2 => 2], $collection->slice(1, 99)); + $this->assertEquals([0 => 'bar', 1 => 'baz', 2 => 2], $collection->slice(1, 3)); + $this->assertEquals([0 => 'bar', 1 => 'baz'], $collection->slice(1, 2)); $this->assertEquals([0 => 'bar'], $collection->slice(1, 1)); $this->assertEquals([], $collection->slice(1, 0)); - $this->assertEquals([1=> 'baz', 2 => 2], $collection->slice(2)); - $this->assertEquals([1=> 'baz', 2 => 2], $collection->slice(2, null)); - $this->assertEquals([1=> 'baz', 2 => 2], $collection->slice(2, 99)); - $this->assertEquals([1=> 'baz', 2 => 2], $collection->slice(2, 2)); + $this->assertEquals([1 => 'baz', 2 => 2], $collection->slice(2)); + $this->assertEquals([1 => 'baz', 2 => 2], $collection->slice(2, null)); + $this->assertEquals([1 => 'baz', 2 => 2], $collection->slice(2, 99)); + $this->assertEquals([1 => 'baz', 2 => 2], $collection->slice(2, 2)); $this->assertEquals([1 => 'baz'], $collection->slice(2, 1)); $this->assertEquals([], $collection->slice(2, 0)); diff --git a/tests/unit/Util/ConfigurationTest.php b/tests/unit/Util/ConfigurationTest.php index a95dbbbb26..7e6a6edfeb 100644 --- a/tests/unit/Util/ConfigurationTest.php +++ b/tests/unit/Util/ConfigurationTest.php @@ -10,7 +10,7 @@ public function testGetConfig() { $data = [ 'foo' => 'bar', - 'a' => [ + 'a' => [ 'b' => 'c', ], ]; diff --git a/tests/unit/Util/RegexHelperTest.php b/tests/unit/Util/RegexHelperTest.php index 6c0ab2af48..d87c361f61 100644 --- a/tests/unit/Util/RegexHelperTest.php +++ b/tests/unit/Util/RegexHelperTest.php @@ -305,5 +305,4 @@ public function dataForTestMatchAt() ['/ /', 'это тест', 1, 3], ]; } - } From ad9ca0799bd7216fc90e99f107671c0220c015c3 Mon Sep 17 00:00:00 2001 From: Colin O'Dell Date: Sun, 19 Jul 2015 10:03:27 -0400 Subject: [PATCH 2/2] Check for empty instead of loose comparsion to 0 --- src/Util/Html5Entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Html5Entities.php b/src/Util/Html5Entities.php index a2d692ad65..db199ef916 100644 --- a/src/Util/Html5Entities.php +++ b/src/Util/Html5Entities.php @@ -2277,7 +2277,7 @@ public static function decodeEntity($entity) public static function fromDecimal($number) { // Only convert code points within planes 0-2, excluding NULL - if ($number == 0 || $number > 0x2FFFF) { + if (empty($number) || $number > 0x2FFFF) { return self::fromHex('fffd'); }