You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
full_title:"Foundations for Moral <italic>Relativism</italic> SecondExpanded Edition"
2568
+
full_title:"Foundations for Moral <italic>Relativism</italic> <underline>Second</underline> <strike>Expanded</strike> <inline-formula><tex-math>E=mc^2</tex-math></inline-formula> <email>editor@example.org</email> <uri>https://example.org</uri> Edition"
2569
2569
.to_string(),
2570
-
title:"Foundations for Moral <italic>Relativism</italic>".to_string(),
let stored_title = Title::from_id(pool.as_ref(),&seed.title_id).unwrap();
2578
2580
assert_eq!(
2579
2581
stored_title.full_title,
2580
-
"Foundations for Moral <italic>Relativism</italic> SecondExpanded Edition"
2582
+
"Foundations for Moral <italic>Relativism</italic> <underline>Second</underline> <strike>Expanded</strike> <inline-formula><tex-math>E=mc^2</tex-math></inline-formula> <email>editor@example.org</email> <uri>https://example.org</uri> Edition"
2581
2583
);
2582
2584
assert_eq!(
2583
2585
stored_title.title,
2584
-
"Foundations for Moral <italic>Relativism</italic>"
2586
+
"Foundations for Moral <italic>Relativism</italic> <inline-formula><tex-math>E=mc^2</tex-math></inline-formula>"
"First line\nSecond line with $E=mc^2$ and user@example.org and https://example.org"
2607
+
.to_string(),
2602
2608
locale_code: abstract_item.locale_code,
2603
2609
abstract_type: abstract_item.abstract_type,
2604
2610
canonical: abstract_item.canonical,
2605
2611
},
2606
-
MarkupFormat::JatsXml,
2612
+
MarkupFormat::PlainText,
2607
2613
);
2608
2614
2609
2615
let stored_abstract = Abstract::from_id(pool.as_ref(),&seed.abstract_short_id).unwrap();
2610
2616
assert_eq!(
2611
2617
stored_abstract.content,
2612
-
"<p>Plain abstract content updated</p>"
2618
+
"<p>First line<break/>Second line with <inline-formula><tex-math>E=mc^2</tex-math></inline-formula> and <email>user@example.org</email> and <uri>https://example.org</uri></p>"
2619
+
);
2620
+
2621
+
let biography = Biography::from_id(pool.as_ref(),&seed.biography_id).unwrap();
0 commit comments