mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 03:24:01 +03:00
Merge pull request #699 from shultz/issue-698
Escape description and author_name in post_gen hook
This commit is contained in:
commit
d56551f888
|
@ -68,6 +68,7 @@ Listed in alphabetical order.
|
|||
Collederas `@Collederas`_
|
||||
Cristian Vargas `@cdvv7788`_
|
||||
Cullen Rhodes `@c-rhodes`_
|
||||
Dan Shultz `@shultz`_
|
||||
Daniele Tricoli `@eriol`_
|
||||
David Díaz `@ddiazpinto`_ @DavidDiazPinto
|
||||
Davur Clementsen `@dsclementsen`_ @davur
|
||||
|
|
|
@ -177,8 +177,8 @@ def add_webpack():
|
|||
'project_dir': '{{ cookiecutter.project_slug }}',
|
||||
'static_root': '{{ cookiecutter.project_slug }}/static/{{ cookiecutter.project_slug }}',
|
||||
'production_output_path': '{{ cookiecutter.project_slug }}/static/{{ cookiecutter.project_slug }}/dist/',
|
||||
'author_name': '{{ cookiecutter.author_name }}',
|
||||
'description': '{{ cookiecutter.description }}',
|
||||
'author_name': '{{ cookiecutter.author_name | escape }}',
|
||||
'description': '{{ cookiecutter.description | escape }}',
|
||||
'version': '{{ cookiecutter.version }}',
|
||||
'existing_project': 'y',
|
||||
'css_extension': 'sass',
|
||||
|
|
Loading…
Reference in New Issue
Block a user