Generator class extends class LinkRelBase, output is something like :
<link rel="generator" href="Drupal 8 (www.drupal.org)" />
It shouldn't extends MetaNameBase instead ? To get something like :
<meta name="generator" content="Drupal 8 (www.drupal.org)" />

Comments

Raphael Apard created an issue. See original summary.

raphael apard’s picture

StatusFileSize
new447 bytes
raphael apard’s picture

damienmckenna’s picture

Status: Active » Needs review
damienmckenna’s picture

damienmckenna’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

fomenkoandrey’s picture

Drupal 8.1.1
Metatag 8.x-1.0-beta8+2-dev (2016-мая-16)
i have the problem with both metatags GENERATOR.

Doesnt work, problem not resolved.

<meta name="generator" content="MY TAG" />
...
<meta name="Generator" content="Drupal 8 (https://www.drupal.org)" />
fomenkoandrey’s picture

and i have the same problem with tag

shortlink

1st link created in METATAG module, 2nd - standart D8

<link rel="shortlink" href="shotlink" />
...
<link rel="shortlink" href="/taxonomy/term/2" />

UPD: problem with taxonomy terms

damienmckenna’s picture

@fomenkoandrey: Please open new issues if you find a problem with the tag generator.

BTW this functionality was not about outputting meta tags in the HTML, it was for the Drupal Console integration that lets you generate new meta tag plugins, to make more meta tags available to be filled in.

finex’s picture

Hi, the double "Generator" bug is still reproducible using Metatag 8.x-1.4 version and Drupal 8.4.4.

finex’s picture

Thx @DamienMcKenna