diff --git a/Sources/Splash/Output/MarkdownDecorator.swift b/Sources/Splash/Output/MarkdownDecorator.swift index 436f83e..fbda759 100644 --- a/Sources/Splash/Output/MarkdownDecorator.swift +++ b/Sources/Splash/Output/MarkdownDecorator.swift @@ -38,9 +38,7 @@ public struct MarkdownDecorator { } output.append(""" -

-            \(code)
-            
+
\(code)
""") } diff --git a/Tests/SplashTests/Tests/MarkdownTests.swift b/Tests/SplashTests/Tests/MarkdownTests.swift index ed96f5e..5dcea50 100644 --- a/Tests/SplashTests/Tests/MarkdownTests.swift +++ b/Tests/SplashTests/Tests/MarkdownTests.swift @@ -33,9 +33,7 @@ final class MarkdownTests: SplashTestCase { Text text text `inline.code.shouldNotBeHighlighted()`. -

-        struct Hello: Protocol {}
-        
+
struct Hello: Protocol {}
Text. """ @@ -57,9 +55,7 @@ final class MarkdownTests: SplashTestCase { let expectedResult = """ Text text. -

-        struct Hello: Protocol {}
-        
+
struct Hello: Protocol {}
Text. """