Skip to content

Be more lax in function/methodnames tag in regards to whitespace #80

Open

Description

@Girgias

I recently fixed an issue on pt_BR where linking on <function> was failing because whitespace inside the tag. So I suggest trim() and strtolower() the tag's content before calculating link targets.

Originally posted by @alfsb in php/doc-en#2658 (comment)

Activity

  1. alfsb commented on Aug 10, 2023

    @alfsb
    Member

    For example, the first $_POST does not link, because <varname> is broken in two lines on XML sources, as now.

    Source: https://github.com/php/doc-en/blob/be90f2a70062d28df2bfe951f0fa97faee06005f/faq/using.xml#L45

          predefined variables</link>, like the superglobal <varname>
          $_POST</varname>.  You may loop through <varname>$_POST</varname>

    Render:
    image

  2. alfsb commented on Oct 25, 2023

    @alfsb
    Member
  3. added a commit that references this issue on Aug 31, 2024
    09589f1
  4. added a commit that references this issue on Feb 12, 2026
    5e67a9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions