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

Can't have \n substring in a template body #3

Open
Smanmos opened this issue Nov 12, 2021 · 1 comment
Open

Can't have \n substring in a template body #3

Smanmos opened this issue Nov 12, 2021 · 1 comment

Comments

@Smanmos
Copy link
Owner

Smanmos commented Nov 12, 2021

Because \n is automatically converted into a newline, it cannot be changed inserted into a body. (Most regex processors usually allow this by requiring double backslash for a literal backslash)

@nus-pe-bot
Copy link

nus-pe-bot commented Nov 16, 2021

Team's Response

Unable to replicate on Windows and Mac OS. From our testing and observation, the way JavaFX handles special characters inserted in text box, is that they are treated as a string with backslash.

image.png

Items for the Tester to Verify

❓ Issue response

Team chose [response.CannotReproduce]

  • I disagree

Reason for disagreement: Nope, \n cannot be put into a body.

backslashn_before.png
backslashn_after.png


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants