Commit 4a36e9fa22d0f1c6c7f3878d09f28e4bf50b0314

Authored by Georg Hopp
1 parent 99c5dd00

remove obsolete funktion

Showing 1 changed file with 0 additions and 11 deletions
... ... @@ -66,17 +66,6 @@ impl Markdown {
66 66 }
67 67 }
68 68
69   - pub(crate) fn _to_html_string(&self) -> String {
70   - use pulldown_cmark::{Parser, Options, html};
71   -
72   - let mut html_out = String::new();
73   - let parser = Parser::new_ext(&self.json.content, Options::all());
74   -
75   - html::push_html(&mut html_out, parser);
76   - html_out
77   - }
78   -
79   -
80 69 fn status_error<I: Display>(status :I) -> Error {
81 70 let err_str = format!("Invalid response status: {}", status);
82 71 Error::from(err_str.as_str())
... ...
Please register or login to post a comment