Skip to content

Improve indentation within PHP blocks #20

Description

@polarblau
= php "if (post_password_required()):" do
  %p.no-password
    This post is password protected. Enter the password to view any comments.
  = php "return null"
= php "endif"

renders to

<?php if (post_password_required()): ?>
<p class='no-password'>
  This post is password protected. Enter the password to view any comments.
</p>
<?php return null ?>
<?php endif ?>

but should be

<?php if (post_password_required()): ?>
  <p class='no-password'>
    This post is password protected. Enter the password to view any comments.
  </p>
  <?php return null ?>
<?php endif ?>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions