assert_equal"<p><b> test with unsafe string </b><script>code!</script></p>",simple_format("<b> test with unsafe string </b><script>code!</script>",{},sanitize: false)
assert_equal"<p><b> test with unsafe string </b><script>code!</script></p>",simple_format("<b> test with unsafe string </b><script>code!</script>",{},{sanitize: false})
assert_equal"<div>We want to put a wrapper...</div>\n\n<div>...right there.</div>",simple_format("We want to put a wrapper...\n\n...right there.",{},wrapper_tag: "div")
assert_equal"<div>We want to put a wrapper...</div>\n\n<div>...right there.</div>",simple_format("We want to put a wrapper...\n\n...right there.",{},{wrapper_tag: "div"})