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

Escape single quotes in .info.ym file generation for generate:module cmd #3972

Conversation

NickDickinsonWilde
Copy link
Contributor

With unescaped quotes in the module filename - for example, caused by:


 // Welcome to the Drupal module generator

 Enter the new module name:
 > test's this```

You get:

drupal generate:module

In InfoParserDynamic.php line 25:

Unable to parse modules/custom/test_s_this/test_s_this.info.yml Unexpected characters near "s this'" at line 1 (near "name: 'test's this'").

@LOBsTerr LOBsTerr merged commit 754b55f into hechoendrupal:master Apr 5, 2019
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

Successfully merging this pull request may close these issues.

2 participants