We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 69f9f66 + b7c1175 commit be48bc7Copy full SHA for be48bc7
addons/SvgOutput/SvgOutputTags.php
@@ -9,7 +9,7 @@ class SvgOutputTags extends Tags
9
{
10
public function index()
11
12
- $asset = Asset::find($this->get('id'));
+ $asset = Asset::find($this->get('url'));
13
$class = $this->get('class');
14
$svg = $asset->disk()->get($asset->path());
15
$pattern = '/(<svg\s+.*?class=".*?)(".*)/';
0 commit comments