Bugs in "Tasks" of "Edit lab"
Posted: Tue May 21, 2019 7:01 am
I found two bugs in "Tasks" of "Edit lab".
1. The "&" character in "Tasks" will be converted to the "&" string after saving, but even if it has been converted to the "&" string, the "&" character in the "&" string will still be converted to the "&" string to form the "&" string after saving again. In other words, as many times as you save, how many "amp;" strings will be appended after the "&" character. However, the "&" character in the "&" string should not be converted.
2. After saving, the "&", "<" and ">" characters in the "code block" which fenced by lines with three back-ticks "```" are also converted into "&", "<" and ">" strings respectively, but "Lab details" that renders in the opening lab should be the original "&", "<", and ">" characters instead of the "&", "<", and ">" strings.
My platform is EVE-NG Community Edition v2.0.3-95.
1. The "&" character in "Tasks" will be converted to the "&" string after saving, but even if it has been converted to the "&" string, the "&" character in the "&" string will still be converted to the "&" string to form the "&amp;" string after saving again. In other words, as many times as you save, how many "amp;" strings will be appended after the "&" character. However, the "&" character in the "&" string should not be converted.
2. After saving, the "&", "<" and ">" characters in the "code block" which fenced by lines with three back-ticks "```" are also converted into "&", "<" and ">" strings respectively, but "Lab details" that renders in the opening lab should be the original "&", "<", and ">" characters instead of the "&", "<", and ">" strings.
My platform is EVE-NG Community Edition v2.0.3-95.