Permalink
Browse files

Relax space checks constraints.

  • Loading branch information...
giuliopaci committed May 31, 2012
1 parent 5bf47d4 commit 0bf017255962ec5c12efb395535386f12e9bcede
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/mw/mw_tests.rb
View
@@ -51,8 +51,8 @@
result_buffer.gsub! /<\/p>$/, ''
# do not care about spaces around some tags
- output.gsub! /\s*<(\/?(li|dd|center|caption))>\s*/, '<\\1>'
- result_buffer.gsub! /\s*<(\/?(li|dd|center|caption))>\s*/, '<\\1>'
+ output.gsub! /\s*<(\/?(li|dd|dt|ol|ul|center|caption))>\s*/, '<\\1>'
+ result_buffer.gsub! /\s*<(\/?(li|dd|dt|ol|ul|center|caption))>\s*/, '<\\1>'
# normalize white space
output.gsub! /\s+/, ' '

0 comments on commit 0bf0172

Please sign in to comment.