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

[Bug] Question & Bug (using twig(syntax)) #191

Open
osworx opened this issue Oct 16, 2024 · 1 comment
Open

[Bug] Question & Bug (using twig(syntax)) #191

osworx opened this issue Oct 16, 2024 · 1 comment
Assignees
Labels
Type: Bug Something isn't working as expected.

Comments

@osworx
Copy link

osworx commented Oct 16, 2024

Question: is this project still maintained or dead?

🐞 Bug Report

Using twig as template engine, twig parts like {{ text_header }} {{ text_other }} or <div class="ic-image {{ item.key}}"{{ item.style}}>
are changed in a way that it makes the output (the minifed version) useless (when not impossible to use because of changed code parts !).
Why?

This tool deletes also each space before {{ and also at }}, so {{ text_other }} becomes a {{ text_other}} (then why not deleting both spaces and only the second ??)

Means then the code must be ic-image {{ item.key}} it makes ic-image{{ item.key}} which does not work after minifacation!

Is there a workaround or setting which can be adjusted?
While this tool is great, but reworking each files after minifying it is a lot of work

Is this a regression?

Don't know ..

To Reproduce

See eplaination above ..

Expected behaviour

Code shall be as he is written - it makes sence the way!

  • OS: Win64
  • Browser name and version: does no matter in this case
@osworx osworx added the Type: Bug Something isn't working as expected. label Oct 16, 2024
Copy link

welcome bot commented Oct 16, 2024

Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!

@osworx osworx changed the title [Bug] Question & Bug (hwne using twig(syntax) [Bug] Question & Bug (using twig(syntax)) Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

2 participants