When parsing @coverDefaultClass, a link to the documentation class is provided, but the link is rendered as plain text

Created on 4 July 2024, 4 months ago
Updated 5 August 2024, 2 months ago

This happens on ImageTestBase::providerAlignment(), for example.

The source file (core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php) contains the following comment, right before the class definition.

/**
 * @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image
 * @group ckeditor5
 * @internal
 */
<!--break-->

This is what the documentation page shows.

The class name is replaced with a link to the documentation page for that class (👍), but the link is rendered as plain text (🤷‍♂️).

Either the class name is not replaced with a link, or the link is rendered as HTML markup.
I would prefer to have a link to the documentation page, but if that is getting too complicated to achieve, showing the class name (complete of namespace) is fine.

Since there are three documentation tags, in that comment, they should be shown each on a single line.

@coversDefaultClass 
            
              \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image
            
@group ckeditor5
@internal

 

🐛 Bug report
Status

Fixed

Version

2.0

Component

Parser

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

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

Comments & Activities

Production build 0.71.5 2024