SafeLinkTrait ​
- Type
- Trait
- Namespace
- craft\markdown
- Implemented by
- craft\markdown\GithubMarkdown, craft\markdown\Markdown, craft\markdown\MarkdownExtra, craft\markdown\PreEncodedMarkdown
- Since
- 4.4.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