From dfb45c026a1cae7959477f1a346b78082bf8a626 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Wed, 6 Jul 2016 14:58:28 -0300 Subject: [PATCH] Fix failing tests --- examples/nested-jsbeautifyrc/.jsbeautifyrc | 1 + .../html/expected/test.html | 18 +++++++-------- .../html/expected/unformatted_elements.html | 7 +++--- .../twig/expected/test.twig | 22 +++++++++---------- .../markdown/expected/yaml-front-matter-2.md | 2 +- 5 files changed, 26 insertions(+), 24 deletions(-) diff --git a/examples/nested-jsbeautifyrc/.jsbeautifyrc b/examples/nested-jsbeautifyrc/.jsbeautifyrc index 57240ac..487d3f3 100644 --- a/examples/nested-jsbeautifyrc/.jsbeautifyrc +++ b/examples/nested-jsbeautifyrc/.jsbeautifyrc @@ -7,6 +7,7 @@ max_preserve_newlines: 1 preserve_newlines: true wrap_line_length: 0 + indent_inner_html: true cfml: brace_style: "collapse" indent_char: " " diff --git a/examples/nested-jsbeautifyrc/html/expected/test.html b/examples/nested-jsbeautifyrc/html/expected/test.html index ac3afff..1ff72f3 100644 --- a/examples/nested-jsbeautifyrc/html/expected/test.html +++ b/examples/nested-jsbeautifyrc/html/expected/test.html @@ -1,15 +1,15 @@ - - Test Page - + + Test Page + - -

Hello

-

- World! -

- + +

Hello

+

+ World! +

+ \ No newline at end of file diff --git a/examples/nested-jsbeautifyrc/html/expected/unformatted_elements.html b/examples/nested-jsbeautifyrc/html/expected/unformatted_elements.html index 4f96b6c..cb80760 100644 --- a/examples/nested-jsbeautifyrc/html/expected/unformatted_elements.html +++ b/examples/nested-jsbeautifyrc/html/expected/unformatted_elements.html @@ -1,14 +1,15 @@ + Test + + \ No newline at end of file diff --git a/examples/nested-jsbeautifyrc/twig/expected/test.twig b/examples/nested-jsbeautifyrc/twig/expected/test.twig index cf3ecbd..c6e6497 100644 --- a/examples/nested-jsbeautifyrc/twig/expected/test.twig +++ b/examples/nested-jsbeautifyrc/twig/expected/test.twig @@ -1,18 +1,18 @@ - - My Webpage - + + My Webpage + - - + + -

My Webpage

{{ a_variable }} - +

My Webpage

{{ a_variable }} + \ No newline at end of file diff --git a/examples/simple-jsbeautifyrc/markdown/expected/yaml-front-matter-2.md b/examples/simple-jsbeautifyrc/markdown/expected/yaml-front-matter-2.md index e94cdef..ef73802 100644 --- a/examples/simple-jsbeautifyrc/markdown/expected/yaml-front-matter-2.md +++ b/examples/simple-jsbeautifyrc/markdown/expected/yaml-front-matter-2.md @@ -1,5 +1,5 @@ --- -title: This is a title! +title: 'This is a title!' --- stuff