Parsedown::blockComment( $Line )
Description
Source
File: bp-help/vendors/parsedown/Parsedown.php
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 | protected function blockComment( $Line ) { if ( $this ->markupEscaped or $this ->safeMode) { return ; } if ( strpos ( $Line [ 'text' ], '<!--' ) === 0) { $Block = array ( 'element' => array ( 'rawHtml' => $Line [ 'body' ], 'autobreak' => true, ), ); if ( strpos ( $Line [ 'text' ], '-->' ) !== false) { $Block [ 'closed' ] = true; } return $Block ; } } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.