lihaoquan / pe

0 stars 0 forks source link

Student names are not properly formatted to account for leading spaces #5

Open lihaoquan opened 3 months ago

lihaoquan commented 3 months ago

As shown in the following image: image.png

Both students has the dummy name Name, but the #10 student has extra spaces in front of it. Student #9 is created with the following command: addstu n/Name nn/E0727332 p/81238123 e/johndoe@gmail.com m/Justice whereas student #10 is created with the following command: addstu n/ Name nn/E0727333 p/81238123 e/johndoe@gmail.com m/Justice

Notice that for the second command, I added additional spaces before the name itself.

While I understand that there are existing measures that takes care of extra spaces, the leading space may need to be taken cared of to properly display and format student names as it is an edge case.

nus-pe-bot commented 3 months ago

Your response not required for this bug as the team has accepted the bug as it is.