Skip to content

Broken HTML in base template file #6081

Closed
@JoshuaSoileau

Description

@JoshuaSoileau

The HTML in the following file is broken:

app/code/Magento/Review/view/frontend/templates/form.phtml
line #25

Here is the line with broken HTML:

<legend class="label"><span><?php /* @escapeNotVerified */ echo __('Your Rating') ?><span></legend><br/>

Here is a link to said file

The second <span> tag should be a closing tag (</span>)

Preconditions

  1. Google Chrome web browser

Steps to reproduce

  1. View product page on frontend
  2. Inspect "Your Rating" text on review submission form
  3. View DOM markup for legend element

Expected result

  1. HTML markup in DOM should only contain 1 span tag

Actual result

  1. HTML markup contains 2 span tags, as the browser will course correct and close the tag itself.
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: FrontendFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions