FEATURE: whitelist data for themes

This commit is contained in:
Sam
2018-03-02 14:51:50 +11:00
parent 939180efa8
commit d39d2b9352
2 changed files with 11 additions and 1 deletions

View File

@ -1262,4 +1262,9 @@ HTML
HTML
end
it "has a proper data whitlist on div" do
cooked = PrettyText.cook("<div data-theme-a='a'>test</div>")
expect(cooked).to include("data-theme-a")
end
end