SafeLinkTrait ​
- Type
- Trait
- Namespace
- craft\markdown
- Implemented by
- craft\markdown\GithubMarkdown, craft\markdown\Markdown, craft\markdown\MarkdownExtra
- Since
- 3.8.2
SafeLinkTrait
Public Properties ​
Property | Description |
---|---|
parseJavaScriptLinks | boolean – Whether javascript: links should be parsed |
parseJavaScriptLinks
​
- Type
- boolean
- Default value
false
Whether javascript:
links should be parsed
Protected Methods ​
Method | Description |
---|---|
renderLink() |
renderLink()
​
Arguments ​
$block