PHP Trait 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 = [];
}
Afficher le fichier
Open project: cebe/markdown
Protected Properties
Свойство |
Type |
Description |
|
$references |
|
a list of defined references in this document. |
|
Méthodes protégées
Method Details
consumeReference()
protected méthode
identifyReference()
protected méthode
lookupReference()
protected méthode
parseImage()
protected méthode
Parses an image indicated by ![.
parseLink()
protected méthode
Parses a link indicated by [.
parseLinkOrImage()
protected méthode
parseLt()
protected méthode
renderEmail()
protected méthode
renderImage()
protected méthode
renderLink()
protected méthode
renderUrl()
protected méthode
replaceEscape()
protected méthode
Remove backslash from escaped characters
Property Details
$references protected_oe property
a list of defined references in this document.