Package: php-tijsverkoyen-css-to-inline-styles / 2.3.0-3

Metadata

Package Version Patches format
php-tijsverkoyen-css-to-inline-styles 2.3.0-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Adapt examples for installation in usr share doc.patch | (download)

example/index.php | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 adapt examples for installation in usr/share/doc

0002 Don t fetch placeholder on the Internet.patch | (download)

example/examples/sumo/index.htm | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 =?utf-8?q?don=e2=80=99t_fetch_placeholder_on_the_internet?=

0003 Modernize PHPUnit syntax.patch | (download)

tests/Css/ProcessorTest.php | 2 2 + 0 - 0 !
tests/Css/Property/ProcessorTest.php | 2 2 + 0 - 0 !
tests/Css/Rule/ProcessorTest.php | 2 2 + 0 - 0 !
tests/CssToInlineStylesTest.php | 2 2 + 0 - 0 !
4 files changed, 8 insertions(+)

 modernize phpunit syntax


0004 Adapt tests to conform with HTML5.patch | (download)

tests/CssToInlineStylesTest.php | 33 18 + 15 - 0 !
1 file changed, 18 insertions(+), 15 deletions(-)

 adapt tests to conform with html5

When php is compiled with libxml2 > 2.14, the loadHTML functionality
will use HTML5 standards, which cause the <p> tags in the tests not to
be created. Passing the <p> as input ensures both the old and new
libxml2 convert it the same way, and keeps the actual test purpose
(which is to check encoding)