Why are there backslashes at the beginning of the counter id img src url?

Created on 28 February 2024, 10 months ago
Updated 13 March 2024, 10 months ago

It does not make sense to me to have two backslashes in front of the counter id src url, see \Drupal\vgwort\Plugin\Field\FieldFormatter\CounterIdImage::getRenderArray():

      '#template' => '<img src="\\\\{{ url }}" height="1" width="1" alt=""/>',

I assume this should be a protocol relative url starting with two slashes, shouldn't it?

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany osopolar πŸ‡©πŸ‡ͺ GER 🌐

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024