1pub(crate) mod anchors;
2pub(crate) mod counter;
3pub(crate) mod handle;
4pub(crate) mod iframes;
5pub(crate) mod images;
6pub(crate) mod lists;
7pub(crate) mod quotes;
8pub(crate) mod styles;
9pub mod writer;
10
11#[inline]
13pub(crate) fn insert_newline_after(element: &mut lol_html::html_content::Element) {
14 element.after("\n", lol_html::html_content::ContentType::Text);
15}
16
17#[inline]
19pub(crate) fn insert_newline_before(element: &mut lol_html::html_content::Element) {
20 element.before("\n", lol_html::html_content::ContentType::Text);
21}
22
23#[inline]
25pub(crate) fn insert_newline_after_send(element: &mut lol_html::send::Element) {
26 element.after("\n", lol_html::html_content::ContentType::Text);
27}
28
29#[inline]
31pub(crate) fn insert_newline_before_send(element: &mut lol_html::send::Element) {
32 element.before("\n", lol_html::html_content::ContentType::Text);
33}