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

When editing in User Private Profile, the Biography and Address fields (when they contain multiple lines) display explicit \r\n (or \n) between lines #1162

Open
alanbarrett opened this issue May 9, 2015 · 1 comment

Comments

@alanbarrett
Copy link
Member

When editing in User Private Profile, the Biography and Address fields (when they contain multiple lines) display explicit \r\n (or \n) between lines
6a\r\n6b\r\n6c is stored in DB, but profile pages display correctly.

Alan.
@alanbarrett
Copy link
Member Author

PDOWrapper::cleanse($str) explicitly escapes CR and LF. This is why the \r\n appear. Ideally they should be kept as is in the database (not escaped). However that cannot easily be changed now.

Alan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant