now the <a> tag is permited, also the list of allowed tags is in
the configuration of ckeditor4
This commit is contained in:
Raúl Fuentes
2018-08-28 09:52:36 +02:00
committed by Javi Martín
parent d574657b77
commit bf0472fd58

View File

@@ -222,11 +222,4 @@ describe Budget::Phase do
end
end
describe "#sanitize_description" do
it "removes html entities from the description" do
expect{
first_phase.update_attributes(description: "<a>a</p> <javascript>javascript</javascript>")
}.to change{ first_phase.description }.to('a javascript')
end
end
end