Skip to content

Format breaks subsequent code #156

@goevexx

Description

@goevexx

When I format code, which has '?>' in it, all subsequent code is is formatted badly.

<?php

$xmldata .= '?>';

$test = true;

if ($test) {
    echo "hi";
}

==>

<?php

$xmldata .= '?>';

$test = true;

if ($test) {
echo "hi";
}

As you might expect, this behaviour appeared building xml data. (<?xml version="1.0" encoding="UTF-8"?>)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions