Make space normalization for post building test more specific.

This commit is contained in:
ccd0 2016-04-28 09:08:44 -07:00
parent d34a2473c0
commit 6dd281ba64

View File

@ -25,7 +25,7 @@ class Post
textNodes = $.X './/text()', root2
i = 0
while node = textNodes.snapshotItem i++
node.data = node.data.replace /\s+/g, ' '
node.data = node.data.replace /\ +/g, ' '
$.rm node if node.data is ''
@normalizedOriginal = root2
<% } %>