Salt (Wireframe): Strange display result on numbers of * in Text Area

0 votes
asked Oct 26 in Bug by xiaoqi (680 points)
Hello all,

When I learn 14.4 and 14.5 in Reference Guide, the display of the Password text area gets strange output, e.g. when I input five "*", it display only one.

Here I've listed the number of "*" from 1 to 20 with below code, the last column is the actual result, seems there're some unexpected mathematic operations (e.g. calculate remainder) applies to the result:

@startsalt
{#
Stars | Expected | Result
"*" | 1 | 1
"**" | 2 | 2
"***" | 3 | 3
"****" | 4 | 4
"*****" | 5 | 1
"******" | 6 | 2
"*******" | 7 | 3
"********" | 8 | 4
"*********" | 9 | 5
"**********" | 10 | 2
"***********" | 11 | 3
"************" | 12 | 4
"*************" | 13 | 5
"**************" | 14 | 6
"***************" | 15 | 3
"****************" | 16 | 4
"*****************" | 17 | 5
"******************" | 18 | 6
"*******************" | 19 | 7
"********************" | 20 | 4
}
@endsalt

I guess the pattern from "20" will be 4/5/6/7/8, then 5/6/7/8/9, not yet try all

You can check from the live server the results accordingly:

https://www.plantuml.com/plantuml/png/RP512i8m44NtFKMfErTjQfEwwyOBw0cApKv4J0H1lRlp8_Cb9Ok1lF_87zfC8Sxt6EPBh5wRwYGGwdTzUDxyEVf5ZaSV7YARRIFGOUISm600YNeCw8SxZA3oe3Sri7gRYMC3ev4j_soFDiqqx5hMPN77pZmtB5w9dkrhWo-oD9aQT4l1MMugICTj9JjoOr7ZHpZeiZTjslof9dzTyC1V

Could anyone help to check and advise? Thanks.

Xiaoqi

1 Answer

+1 vote
answered Oct 26 by The-Lu (73,540 points)
selected Oct 27 by xiaoqi
 
Best answer

Hello X.,

It is due to the same reason: the Creole Engine..... Star is used to make bold text.

See doc. on creole:

Then:

  • Could you change your kind of star?

See:

If that can help,

Regards,
Th.

commented Oct 27 by xiaoqi (680 points)
great information, thanks Th
...