Problem/Motivation

Currently the CustomUrl provider has 3 examples:

[
      'custom: "https://drupal.org"',

      'custom: ["https://drupal.org", "https://drupal.org/project/funding"]',

      'custom:
        - "https://drupal.org"
        - "https://drupal.org/project/funding",
];

The problem is with the 2nd example. On the examples output, it is decoded into a multiline structure:

example of bug

Issue fork funding-3356317

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

daggerhart created an issue. See original summary.

  • daggerhart committed 01616a48 on 1.0.x
    Issue #3356317: Single line examples for structures should be single...
daggerhart’s picture

Status: Active » Fixed
StatusFileSize
new26.56 KB

Fixed.

Resulting output:

example fix

  • daggerhart committed 01616a48 on 1.x
    Issue #3356317: Single line examples for structures should be single...

Status: Fixed » Closed (fixed)

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