]> granicus.if.org Git - php/commit
ext/tidy: work around a legacy libtidy bug in a test.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 10 Jun 2016 03:39:07 +0000 (23:39 -0400)
committerAnatol Belski <ab@php.net>
Mon, 11 Jul 2016 12:05:43 +0000 (14:05 +0200)
commit6319a358496dda48d2c9541aec59fa78a0a96492
tree2fbc82ec780ea0733013e6eb9d0fb6a822d4da8c
parenta467a42dd179263f334bcfaca76d320d57d7bd19
ext/tidy: work around a legacy libtidy bug in a test.

Our existing test 024.phpt actually tests incorrect behavior. There is
a self-closing tag present in the input, but the expected output has
that same tag half-open (i.e. open but never closed). To support
tidy-html5, which does the right thing, that test needed to be
changed. The self-closing tag was replaced by an explicit pair of
tags, and some extra whitespace fudging was done.
ext/tidy/tests/024.phpt