Browser / Version: Firefox 62.0 Operating System: Mac OS X 10.13 Tested Another Browser: Yes
Problem type: Something else Description: Copy/pasting text inserts two newlines per one newline in the document Steps to Reproduce:
Visit the URL, click to copy a few lines of the code (for example, all four lines of the New() function docstring and body), then paste into a document that expects plain text - this textarea, vim, plain text TextEdit.app.
In Firefox, this leads to two newlines being inserted per one newline in the original document (see below). I cannot reproduce in Chrome. I cannot reproduce by pasting into Notes.app.
// New returns an error that formats as the given text.
func New(text string) error {
return &errorString{text}
}
URL: https://golang.org/src/errors/errors.go?s=293:320#L1
Browser / Version: Firefox 62.0
Operating System: Mac OS X 10.13
Tested Another Browser: Yes
Problem type: Something else
Description: Copy/pasting text inserts two newlines per one newline in the document
Steps to Reproduce:
Visit the URL, click to copy a few lines of the code (for example, all four lines of the New() function docstring and body), then paste into a document that expects plain text - this textarea, vim, plain text TextEdit.app.
In Firefox, this leads to two newlines being inserted per one newline in the original document (see below). I cannot reproduce in Chrome. I cannot reproduce by pasting into Notes.app.
From webcompat.com with ❤️