doesn't actually fix the issue
This commit is contained in:
parent
a030724069
commit
1c26903567
1 changed files with 0 additions and 12 deletions
12
src/lib.rs
12
src/lib.rs
|
|
@ -29,18 +29,6 @@ pub fn parse_content(c: &str) -> Vec<Content>{
|
||||||
}).collect()
|
}).collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn parse_content_owned(c: String) -> Vec<Content>{
|
|
||||||
process_content(&itemize_content(&c)).into_iter().map(|i| {
|
|
||||||
match i {
|
|
||||||
Content::Markdown(s) => {
|
|
||||||
Content::MarkdownParsed(markdown::parse(&s).collect())
|
|
||||||
//this is super lazy but it works....
|
|
||||||
}
|
|
||||||
_ => {i}
|
|
||||||
}
|
|
||||||
}).collect()
|
|
||||||
}
|
|
||||||
|
|
||||||
fn markdownify_child(item: &Item) -> String {
|
fn markdownify_child(item: &Item) -> String {
|
||||||
let mut result = "".to_owned();
|
let mut result = "".to_owned();
|
||||||
match markdown_content(&item) {
|
match markdown_content(&item) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue