Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure markdown export is using only LF as end of line #392

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Trim
Copy link
Member

@Trim Trim commented Apr 20, 2024

Web browsers send multiline textarea value with CRLF as end of line.

As the markdown export uses the raw value from database, we need to replace the CRLF by LF end of lines. Otherwise the file will have both type of end of lines.

See suivi request: https://linuxfr.org/suivi/export-markdown

Web browsers send multiline textarea value with CRLF as end of line.

As the markdown export uses the raw value from database, we need to
replace the CRLF by LF end of lines. Otherwise the file will have both
type of end of lines.

See suivi request: https://linuxfr.org/suivi/export-markdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants