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) {