Reverting the Sanitizer commit in case we have to do something urgent

before we deploy it early next week. It's in the branch `sanitizer` for
now.

This reverts commit 9e93d8ed5209c5c65dfa00fa9b9d17cc8de13244.
This commit is contained in:
Robin Ward
2013-10-11 16:44:26 -04:00
parent 9e93d8ed52
commit af931f0444
16 changed files with 174 additions and 175 deletions

View File

@ -32,7 +32,7 @@ describe PrettyText do
end
it "should sanitize the html" do
PrettyText.cook("<script>alert(42)</script>").should match_html "<p></p>"
PrettyText.cook("<script>alert(42)</script>").should match_html "alert(42)"
end
it 'should allow for @mentions to have punctuation' do