blob: 1704ec233b00cb10f570dff2ae65485f7e096113 (
plain) (
tree)
|
|
extern crate micromark;
use micromark::micromark;
#[test]
fn soft_break() {
assert_eq!(
micromark("foo\nbaz"),
"<p>foo\nbaz</p>",
"should support line endings"
);
// To do: trim whitespace.
// assert_eq!(
// micromark("foo \n baz"),
// "<p>foo\nbaz</p>",
// "should trim spaces around line endings"
// );
}
|