Skip to content

"_" is removed in sidebar and search box from some header containing underscore  #1208

@nelson6e65

Description

@nelson6e65
  • I confirm that this is an issue rather than a question.

Bug report

When I have a header (## ) that contains an underscore (_), the title in sidebar misses the _ character. Also, in the search box result title is displayed without _ and also is exclude from results if I type the title containing _.

The weird thing is that this does not happen in all cases:

Screenshot-1

NML_VERSION, in this case, works as expected.

PD: The link reference is ok, like in the screenshot that works fine (https://nelson6e65.github.io/php_nml/api/constants.html#nml-gettext-domain)

Version

  • 0.14.8
  • 1.0.0-alpha.32

Steps to reproduce

  • Generate documentation
  • View resulting page

What is expected?

  • Headers containing _ are searchable.
  • Display _ in sidebar and search box (from screenshot: NML_GETTEXT_DOMAIN)

What is actually happening?

_ is being hidden from sidebar and search in some cases

Other relevant information

  • Your OS: Fedora 28
  • Node.js version: v8.11.2
  • Browser version: Chrome
  • Is this a global or local install? Both
  • Which package manager did you use for the install?

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