Skip to content

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

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