Skip to content

Why this one line tag with multiple attributes was changed? #12

Open
@idgserpro

Description

@idgserpro

From https://zopetoolkit.readthedocs.io/en/latest/codingstyle/zcml-style.html#attributes:

If all the attributes fit on one line with the tag name, do that:
<class class=".foo.Foo">

But as shown in plone/plone.api#219 (comment):

 <!-- Set overrides folder for Just-a-Bunch-Of-Templates product -->
  <include package="z3c.jbot" file="meta.zcml" />

was changed to:

  <!-- Set overrides folder for Just-a-Bunch-Of-Templates product -->
  <include
      package="z3c.jbot"
      file="meta.zcml"
      />

Since "If all the attributes fit on one line with the tag name, do that" is already met, why the line was changed? I'm not sure if this is really a bug...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions