Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
alignment textarea not correct after submit
jackmaessen
✭✭✭
i was testing some text in a code block and noticed that after submit there happens something strange with the alignment. See example below.
Number of characters left and right equal:
text leftside text rightside text leftside text rightside text leftside text rightside
Number of characters left and right NOT equal:
text leftside text rightside text leftside text rightside text leftside xxxx text rightside (alignment goes wrong)
Before submit, the "text rightside" was neatly under each other; after submit the last moves to the left
If you edit my post, you can see what happens
Before submit (image below)
0
Comments
There is no mistake. Only the output is fixed width. One has 20 characters the other has 16 characters. You are biasing alignment on a non-fixed with font on input, which is flawed.
They need to copy from a fixed with source as is. Any coder would tell you this.
grep is your friend.
It is clear to me. I do understand now. Thanks @x00