Skip to content

Break in address in order grid when using multiple address lines #10330

Closed
@redelschaap

Description

@redelschaap

When a Magento installation uses multiple address lines, these lines are seperated with an HTML break element (<br/>) in the order grid in the admin, instead of a space. The HTML code of the break element is also visible in the grid.

Preconditions

  1. Tested on Magento 2.1.5
  2. Installation uses PHP 7.0.17 on nginx and MySQL 5.7.18

Steps to reproduce

  1. Make sure the installation uses two or more address lines.
  2. Create an order where the address uses two or more address lines.
  3. Go to the order grid in the admin.

Expected result

  1. The address should be formatted in a readable way.

Actual result

  1. The address lines are seperated by an HTML break which is also visible.
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions