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

Escape html before replace new line with break #11058

Merged
merged 3 commits into from
Sep 27, 2017

Conversation

Quinten
Copy link

@Quinten Quinten commented Sep 26, 2017

Fixes #10330

Multiline addresses are stored in the database with new lines
The new lines were replaced and then escaped (in the wrong order)
so the breaks were rendered as htmlentities
became <br />

Description

Fixed Issues (if relevant)

  1. magento/magento2#<issue_number>: Issue title
  2. ...

Manual testing scenarios

  1. ...
  2. ...

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

heyitsroberthe and others added 3 commits September 12, 2017 20:36
[mpi] MAGETWO-72551: Update version in composer to 2.2.1-dev for 2.2-develop branch
Fixes magento#10330

Multiline addresses are stored in the database with new lines
The new lines were replaced and then escaped (in the wrong order)
so the breaks were rendered as htmlentities <br /> became &lt;br /&gt;
@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Sep 26, 2017

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 3 committers have signed the CLA.

✅ Quinten
❌ paliarush
❌ viktym

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

Successfully merging this pull request may close these issues.

8 participants