Page MenuHomePhorge

PhutilRemarkupLinebreaksRule.php
No OneTemporary

Size
236 B
Referenced Files
None
Subscribers
None

PhutilRemarkupLinebreaksRule.php

<?php
final class PhutilRemarkupLinebreaksRule extends PhutilRemarkupRule {
public function apply($text) {
if ($this->getEngine()->isTextMode()) {
return $text;
}
return phutil_escape_html_newlines($text);
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jun 18, 11:43 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
229167
Default Alt Text
PhutilRemarkupLinebreaksRule.php (236 B)

Event Timeline