Skip to content

clipboard: improve EOL conversion of plain text

ignazp requested to merge ignazp/gtk:gtk-3-24-clipboard_eol into gtk-3-24

Handle the case of clipboard text with CR line endings

The issue can be raised with Notepad++ by:

  • open/convert a text file with CR only line endings
  • select multiple lines
  • copy the selected text

Result: all line endings has been removed in the text retrieved from the clipboard with GtkClipboard

Merge request reports