Skip to content

extra column when you type html comment in <mj-group> #1621

@xunuo

Description

@xunuo

Describe the bug
extra column when you type html comment in <mj-group>

To Reproduce
Steps to reproduce the behavior:

<mj-group>
  <!-- foreach($n){ -->
  <mj-column>
    ....
  </mj-column>
  <!-- } -->
  <mj-column>
    ....
  </mj-column>
</mj-group>

will build 4 columns, and for each width will be 16%

Expected behavior
only 2 column

MJML environment (please complete the following information):

  • OS: MacOS
  • MJML Version 4.2.0

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