Codeforces / polygon-issue-tracking

polygon-issue-tracking
16 stars 2 forks source link

Custom example text: UI eats first empty line on load #438

Open GassaFM opened 4 years ago

GassaFM commented 4 years ago

Suppose you want to write an example for PDF view of an interactive problem. Such example usually goes in two columns, with empty lines to show the order of interaction, like this:

input1
input2
                    output1
input3
                    output2

So, the custom output for statements starts with two empty lines. However, when loading it in the UI, the "Output for statements" field of https://polygon.codeforces.com/tests?action=edit&testset=tests&... does not include the first empty line from the previous state. As a result, after pressing "Save", the number of empty lines at the top is reduced by one.

MikeMirzayanov commented 1 year ago

Can't reproduce. Please check if it is fixed already.