MaestroError/html-strings-affixer

@endif becomes {{ __('@endif') }}

rabol opened this issue · 5 comments

rabol commented

I'm using the example config

running with replace command turns

@endif into {{ __('@endif') }}

rabol commented

and some foreach becomes {{ __('@endforeach') }}

rabol commented

@enderror becomes {{ __('@enderror') }}

Hi, @rabol! Thank you for the feedback, as it seems the example config doesn't contain the "@" character. Please just add it to the "ignore" array and your issue should be fixed 👍

I updated the example config and added a note in Docs. After I will add "@" in default ignore characters too, but for now, it needs to be specified via the "affixer.json" file. You can check out the new example config

Added "@" as default ignore character ✔️