Sha256: a5a00d2367f6832206b8a77512e228e9c3a5b64906da795195f597e724138af9
Contents?: true
Size: 433 Bytes
Versions: 6
Compression:
Stored size: 433 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe SmartyPantsFilter do it "should be named SmartyPants" do SmartyPantsFilter.filter_name.should == "SmartyPants" end it "should filter text with quotes into smart quotes" do SmartyPantsFilter.filter("<h1 class=\"headline\">Radiant's \"filters\" rock!</h1>").should == "<h1 class=\"headline\">Radiant’s “filters” rock!</h1>" end end
Version data entries
6 entries across 6 versions & 1 rubygems