Page MenuHomePhabricator

Masterwork From Distant Lands

Authored By
epriestley
Jun 2 2016, 5:23 PM
Size
726 B
Referenced Files
None
Subscribers
None

Masterwork From Distant Lands

diff --git a/src/parser/__tests__/PhutilPygmentizeParserTestCase.php b/src/parser/__tests__/PhutilPygmentizeParserTestCase.php
index 81144f6..7c512a0 100644
--- a/src/parser/__tests__/PhutilPygmentizeParserTestCase.php
+++ b/src/parser/__tests__/PhutilPygmentizeParserTestCase.php
@@ -30,6 +30,14 @@ final class PhutilPygmentizeParserTestCase extends PhutilTestCase {
'nc' => 'color: #ff0000',
),
pht('Extra Attribute'));
+
+ $this->tryParser(
+ "<\nspan class=\"mi\">1</span>",
+ "<\nspan style=\"color: #ff0000\">1</span>",
+ array(
+ 'mi' => 'color: #ff0000',
+ ),
+ pht('With Newline'));
}
private function tryParser($input, $expect, array $map, $label) {

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
167077
Default Alt Text
Masterwork From Distant Lands (726 B)

Event Timeline