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

🐛 Keep order of elements in replace functions #3

Closed
Friedinger opened this issue Aug 7, 2024 · 1 comment
Closed

🐛 Keep order of elements in replace functions #3

Friedinger opened this issue Aug 7, 2024 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@Friedinger
Copy link
Owner

Friedinger commented Aug 7, 2024

Problem:

replaceAll adds new content at end of parent element, not at the expected position

Example:

Code executed: $content->replaceAll("user-username", $user->getUsername());
Template: <p>Passwort des Accounts <user-username /> ändern:</p>
Actual Output: <p>Passwort des Accounts ändern:admin</p>
Expected Output: <p>Passwort des Accounts admin ändern:</p>

@Friedinger Friedinger added the bug Something isn't working label Aug 7, 2024
@Friedinger
Copy link
Owner Author

Was already fixed in Commit 0a2a430, problem only occured in other project with old version of FileRouter

@Friedinger Friedinger closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2024
@Friedinger Friedinger added the wontfix This will not be worked on label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant