diff --git a/lib/markdown.rb b/lib/markdown.rb
index df42067ff1..f1681328d6 100644
--- a/lib/markdown.rb
+++ b/lib/markdown.rb
@@ -27,7 +27,7 @@ def block_code(code, language)
end
def table(header, body)
- %(
)
+ %()
end
# Extend to support img width
diff --git a/spec/lib/markdown_spec.rb b/spec/lib/markdown_spec.rb
index a9d9f2ab07..ae71f77cd7 100644
--- a/spec/lib/markdown_spec.rb
+++ b/spec/lib/markdown_spec.rb
@@ -469,7 +469,7 @@ class Foo; end
| cell 3 | cell 4 |)
end
- it { expect(doc.inner_html).to eq "\n\nheader 1 | \nheader 3 | \n
\n\ncell 1 | \ncell 2 | \n
\n\ncell 3 | \ncell 4 | \n
\n
" }
+ it { expect(doc.inner_html).to eq "\n\nheader 1 | \nheader 3 | \n
\n\ncell 1 | \ncell 2 | \n
\n\ncell 3 | \ncell 4 | \n
\n
" }
end
describe 'Escape HTML tags' do
@@ -641,7 +641,7 @@ class Foo
Ruby
Go
-Tables
+Tables
header 1 |
header 3 |
@@ -654,7 +654,7 @@ class Foo
cell 3 |
cell 4 |
-
Links
+
Links
Inline links:
link text