v3ss0n / rietveld

Automatically exported from code.google.com/p/rietveld
Apache License 2.0
0 stars 0 forks source link

"Description" section ignores whitespaces at the beginning in each line #416

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit/create new code review, say, in
https://chromiumcodereview.appspot.com

2. In Description section, enter text with whitespace in the beginning of the 
line, e.g.,
- Heading 1
  - Detail 1.1
    - Subd-etail 1.1.1
  - Detail 1.2
- Heading 2
  - Detail 2.1

What is the expected output? What do you see instead?
I expect whitespace to be preserved.  Instead, these white spaces disappear, 
destroying the desired hierarchical formatting.

What browser are you using?  What version? On what operating system?
Chrome R25, on Windows and Ubuntu.

At what URL are you accessing Rietveld?  (e.g. codereview.appspot.com)
Please note if you are using the Google Apps Labs version (e.g.
codereview.<yourdomain>).
https://chromiumcodereview.appspot.com

*** If you are a Google employee please say so or mail rietveld-admins@
directly. ***
I'm a Google employee.

Please provide any additional information below.
This can be fixed by CSS formatting

white-space:pre;

Original issue reported on code.google.com by hua...@google.com on 25 Jan 2013 at 12:35

GoogleCodeExporter commented 9 years ago
Note that whitespace is preserved in issue tracker, but not in code review.

Original comment by hua...@google.com on 25 Jan 2013 at 12:36

GoogleCodeExporter commented 9 years ago
This seems to affect the Chromium branch only. On http://codereview.appspot.com 
leading whitespaces in the description are preserved.

Original comment by albrecht.andi on 15 Jun 2013 at 5:36