History log of /PHP-Parser/test/code/formatPreservation/inlineHtml.test (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a3bc900a 05-Mar-2023 Nikita Popov

Don't ltrim when preserving formatting

We shouldn't ltrim when printing a whole file, that way we will
not just fail to preserve formatting, but actually change semantics
by dropping

Don't ltrim when preserving formatting

We shouldn't ltrim when printing a whole file, that way we will
not just fail to preserve formatting, but actually change semantics
by dropping meaningful whitespace.

show more ...


# b0edd4c4 21-Sep-2022 Nikita Popov

Bail out on PHP tags in removed code

If dropping a node would drop PHP tags, bail out of formatting
preservation. This will lose formatting, but at least produce
legal code.

Bail out on PHP tags in removed code

If dropping a node would drop PHP tags, bail out of formatting
preservation. This will lose formatting, but at least produce
legal code.

Closes GH-884.

show more ...


# bad10e16 21-Sep-2022 Nikita Popov

Add more tests for formatting preservation with InlineHTML

It's all broken...


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3
# de82a40d 26-Dec-2017 Nikita Popov

FPPP: Add broken InlineHTML test cases


# a86151f2 24-Dec-2017 Nikita Popov

FPPP: Fix fallback for inline HTML