You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe the bug
when navigating to the raw dump of a paste (https://paste.myst.rs/raw/*/*), the provided result is given with header text/html and when copied, every line is separated by an additional blank line that shouldn't exist in the actual text.
to reproduce
steps to reproduce the behavior:
view a paste
click "raw"
copy the text
paste in notepad or any text editor to view it
expected behavior
copying the text should omit blank lines. ideally, when viewing the raw of a paste, the server should respond with content-type text/plain, and just dump the contents of the paste as it is in plain text.
screenshots
n/a
device and browser:
(though this is irrelevant)
os: windows
browser: firefox
browser version: 116.0.1
additional context
n/a
The text was updated successfully, but these errors were encountered:
I believe this may be because the paste in question uses crlf not lf terminator because I pasted from Windows. If I view source of the raw dump, it starts out:
So I think is being treated as "two new lines". I guess a workaround to this if you don't want to send as text/plain would be to just replace crlf with lf when dumping raw
describe the bug
when navigating to the raw dump of a paste (https://paste.myst.rs/raw/*/*), the provided result is given with header text/html and when copied, every line is separated by an additional blank line that shouldn't exist in the actual text.
to reproduce
steps to reproduce the behavior:
expected behavior
copying the text should omit blank lines. ideally, when viewing the raw of a paste, the server should respond with content-type text/plain, and just dump the contents of the paste as it is in plain text.
screenshots
n/a
device and browser:
(though this is irrelevant)
additional context
n/a
The text was updated successfully, but these errors were encountered: