src/View/Parsers/ShortcodeParser.php
protected function replaceElementTagsWithMarkers($content)
    {
        $tags = $this->extractTags($content);

        if ($tags) {
            $markerClass = self::$marker_class;

            $content = $this->replaceTagsWithText($content, $tags, function ($idx, $tag) use ($markerClass) {
                return '<img class="' . $markerClass . '" data-tagid="' . $idx . '" />';
            });
        }

        return array($content, $tags);
    }
protected function replaceElementTagsWithMarkers($content)
    {
        $tags = $this->extractTags($content);

        if ($tags) {
            $markerClass = self::$marker_class;

            $content = $this->replaceTagsWithText($content, $tags, function ($idx, $tag) use ($markerClass) {
                return '<img class="' . $markerClass . '" data-tagid="' . $idx . '" />';
            });
        }

        return array($content, $tags);
    }
protected function replaceElementTagsWithMarkers ( $ content ) { $ tags = $ this -> extractTags ( $ content ) ; if ( $ tags ) { $ markerClass = self :: $ marker_class ; $ content = $ this -> replaceTagsWithText ( $ content , $ tags , function ( $ idx , $ tag ) use ( $ markerClass ) { return '<img class="' . $ markerClass . '" data-tagid="' . $ idx . '" />' ; } ) ; } return array ( $ content , $ tags ) ; }
Replace the element-scoped tags with markers

@param string $content
@return array
Replace the element - scoped tags with markers