| Name | Size | Mode | Actions |
|---|---|---|---|
| extra-data/ | - | 0755 | rm |
| github-data/ | - | 0755 | rm |
| markdown-data/ | - | 0755 | rm |
| markdown-ol-start-num-data/ | - | 0755 | rm |
| BaseMarkdownTest.php | 3776 | 0644 | editdlrm |
| bootstrap.php | 112 | 0644 | editdlrm |
| GithubMarkdownTest.php | 2567 | 0644 | editdlrm |
| MarkdownExtraTest.php | 408 | 0644 | editdlrm |
| MarkdownOLStartNumTest.php | 691 | 0644 | editdlrm |
| MarkdownTest.php | 1863 | 0644 | editdlrm |
| ParserTest.php | 2583 | 0644 | editdlrm |
| profile.php | 925 | 0644 | editdlrm |
/var/www/vhosts/nabawater/vendor/cebe/markdown/tests/GithubMarkdownTest.php (2567B)
This is text
\nnewline
\nnewline.
0
\n", $parser->parse("0")); } public function testAutoLinkLabelingWithEncodedUrl() { $parser = $this->createMarkdown(); $utfText = "\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\xe3\x81\x8a"; $utfNaturalUrl = "http://example.com/" . $utfText; $utfEncodedUrl = "http://example.com/" . urlencode($utfText); $eucEncodedUrl = "http://example.com/" . urlencode(mb_convert_encoding($utfText, 'EUC-JP', 'UTF-8')); $this->assertStringEndsWith(">{$utfNaturalUrl}", $parser->parseParagraph($utfNaturalUrl), "Natural UTF-8 URL needs no conversion."); $this->assertStringEndsWith(">{$utfNaturalUrl}", $parser->parseParagraph($utfEncodedUrl), "Encoded UTF-8 URL will be converted to readable format."); $this->assertStringEndsWith(">{$eucEncodedUrl}", $parser->parseParagraph($eucEncodedUrl), "Non UTF-8 URL should never be converted."); // See: \cebe\markdown\inline\UrlLinkTrait::renderAutoUrl } }