Skip to content

Conversation

deirn
Copy link
Contributor

@deirn deirn commented Aug 8, 2024

When #string() gets called with escapeQuotes == false, it would remove the replacement for " from the table without restoring it. This, in turn, will cause later calls not to escape the quotes, even if escapeQuotes == true.

Modifying the table is ugly IMO, I think it's better to do special check for quote character.

@ix0rai ix0rai added the bug Something isn't working label Aug 8, 2024
Copy link
Member

@ix0rai ix0rai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you so much!

@ix0rai ix0rai merged commit 21caef5 into QuiltMC:trunk Dec 7, 2024
1 check passed
@deirn deirn deleted the const-table branch December 7, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants