Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F119698116
PhutilRemarkupEngineRemarkupHorizontalRuleBlockRule.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jun 28, 16:48
Size
399 B
Mime Type
text/x-php
Expires
Mon, Jun 30, 16:48 (2 d)
Engine
blob
Format
Raw Data
Handle
27059058
Attached To
rPHU libphutil
PhutilRemarkupEngineRemarkupHorizontalRuleBlockRule.php
View Options
<?php
/**
* @group markup
*/
final
class
PhutilRemarkupEngineRemarkupHorizontalRuleBlockRule
extends
PhutilRemarkupEngineBlockRule
{
public
function
getBlockPattern
()
{
return
"/^_{3,}$|^
\*\s
?
\*\s
?
\*
(
\s
|
\*
)*$|^
\-\s
?
\-\s
?
\-
(
\s
|
\-
)*$/"
;
}
public
function
shouldMergeBlocks
()
{
return
false
;
}
public
function
markupText
(
$text
)
{
return
phutil_tag
(
'hr'
,
array
());
}
}
Event Timeline
Log In to Comment