PHP 트레잇 cebe\markdown\inline\LinkTrait
This trait conflicts with the HtmlTrait. If both are used together,
you have to define a resolution, by defining the HtmlTrait::parseInlineHtml
as private so it is not used directly:
php
use block\HtmlTrait {
parseInlineHtml as private parseInlineHtml;
}
If the method exists it is called internally by this trait.
Also make sure to reset references on prepare():
php
protected function prepare()
{
reset references
$this->references = [];
}
파일 보기
프로젝트 열기: cebe/markdown
보호된 프로퍼티들
프로퍼티 |
타입 |
설명 |
|
$references |
|
a list of defined references in this document. |
|
보호된 메소드들
메소드 상세
consumeReference()
보호된 메소드
identifyReference()
보호된 메소드
lookupReference()
보호된 메소드
Parses an image indicated by ![.
Parses a link indicated by [.
parseLinkOrImage()
보호된 메소드
Remove backslash from escaped characters
프로퍼티 상세
a list of defined references in this document.