Skip to content

SafeLinkTrait ​

Type
Trait
Namespace
craft\markdown
Implemented by
craft\markdown\GithubMarkdown, craft\markdown\Markdown, craft\markdown\MarkdownExtra
Since
3.8.2

SafeLinkTrait

View source

Public Properties ​

PropertyDescription
parseJavaScriptLinksboolean – Whether javascript: links should be parsed
Type
boolean
Default value
false

Whether javascript: links should be parsed

View source

Protected Methods ​

MethodDescription
renderLink()

View source

Arguments ​

  • $block