Skip to content

Use supported method to stop text wrapping in tables #28392

@felicitymay

Description

@felicitymay

Code of Conduct

What article on docs.github.com is affected?

Some of the code scanning and CodeQL articles have tables that describe command-line or workflow options that should not be wrapped.

The <nobr> and </nobr> tags originally used to stop text wrapping work inconsistently and are deprecated. For more information, see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nobr

This formatting needs to be replaced with a span and the white-space: nowrap style. For examples, see:

What part(s) of the article would you like to see updated?

Files that need to be updated:

This list is correct now, but we are refactoring the CodeQL CLI docs and so some of these articles and examples may move.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    code securityContent related to code securitycontentThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions