Skip to content

Can we change standard from <br /> to <br> ? #267

Open
@infograf768

Description

@infograf768

https://github.com/joomla/coding-standards/blob/master/manual/html.md#adding-line-breaks

afaik, it looks not necessary to use <br /> as this is rather for xhtml.
<br> should be OK.

Ref:
https://www.tutorialspoint.com/What-is-the-correct-way-of-using-br-br-or-br-in-HTML

So the question is:

  1. Shall we keep <br /> as a standard for 3.x
  2. Shall we change the standard to <br> generally speaking or specially for J4 as we have
    9 occurences of <br />
    216 occurences of <br>

@mbabker @wilsonge @HLeithner

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions