Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Chinese #flag #23

Open
lz8878 opened this issue Sep 23, 2019 · 0 comments
Open

Support Chinese #flag #23

lz8878 opened this issue Sep 23, 2019 · 0 comments

Comments

@lz8878
Copy link

lz8878 commented Sep 23, 2019

The Chinese I use. When use laravel-apidoc-generator generate apidoc, the Chinese flag will be ignored . Caused by the following code:

function slugify(text){
    return text.toString().toLowerCase()
        .replace(/\s+/g, '-')           // Replace spaces with -
        .replace(/[^\w\-]+/g, '')       // Remove all non-word chars
        .replace(/\-\-+/g, '-')         // Replace multiple - with single -
        .replace(/^-+/, '')             // Trim - from start of text
        .replace(/-+$/, '');            // Trim - from end of text
  }

Can you support Chinese flag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant