Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Whitespace not shown properly in ranking task

Open mashdragon opened this issue 2 years ago • 1 comments

In the ranking task, and possibly elsewhere, whitespace isn't rendered properly in the choices:

image

This also occurs in the modal: image

See commit 51a1d9a which is a related fix.

mashdragon avatar Jan 29 '23 23:01 mashdragon

Can the issue be addressed properly? I don't understand what it means...

cypha-io avatar Jan 30 '23 23:01 cypha-io

This should be addressed by https://github.com/LAION-AI/Open-Assistant/pull/1042

fozziethebeat avatar Feb 01 '23 06:02 fozziethebeat

This doesn't appear to be completely fixed. pre-line still collapses whitespace, so code blocks look broken:

Here is the code you asked for:

```python
def foo():
    # this line should be indented
    return 123
```

will render like this:

image

ruro avatar Feb 05 '23 20:02 ruro

Great

cypha-io avatar Feb 07 '23 21:02 cypha-io