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 for {% with %} extension in jinja #81

Open
sibeduli opened this issue Dec 24, 2023 · 1 comment
Open

Support for {% with %} extension in jinja #81

sibeduli opened this issue Dec 24, 2023 · 1 comment

Comments

@sibeduli
Copy link

  • pypugjs version: 5.9.12
  • Django version: -
  • Python version: 3.8.10
  • Operating System: Ubuntu

Description

cannot convert with extension from jinja

PUG File

with message=get_flashed_messages()

Expected Output

{% with messages = get_flashed_messages() %}

Actual Output

<with>message=get_flashed_messages()</with>
@kakulukia
Copy link
Owner

Hi @sibeduli , you are welcome to add a pull request for this feature! But in my last years of coding template logic i have very rarely used with and dont see a big need here.

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

2 participants