Skip to content

Navigation Menu

Sign in
Sign up

[Bug] The table is broken, after adding url with exclamation mark #322

Open
Labels
bugSomething isn't working

Description

Description: The table is broken if providing a hyperlink with a shebang (#!).

Code snippet:

const Table = require('cli-table3');
const table = new Table();
const href = 'http://example.com/!';
table.push([{ content: 'Text Link', href }]);
console.log(table.toString());

Output:

┌───────────┐
│ │
└───────────┘

image

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /