public function compress() { return str_replace(array("\n", ' {', ': ', ';}', ', '), array('', '{', ':', '}', ','), strval($this->doc)); }
public function testDoubleAsteriskAtBeginningOfComment() { $a = '/** Foo */#bar{width:1px;}'; $css = new Horde_Css_Parser($a); $this->assertEquals('#bar{width:1px}', $css->compress()); }