wrap up some common functionality between the call from 'main' and AT
(mathml: Element)
| 21 | |
| 22 | // wrap up some common functionality between the call from 'main' and AT |
| 23 | fn cleanup_mathml(mathml: Element) -> Result<Element> { |
| 24 | trim_element(&mathml); |
| 25 | let mathml = crate::canonicalize::canonicalize(mathml)?; |
| 26 | let mathml = add_ids(mathml); |
| 27 | return Ok(mathml); |
| 28 | } |
| 29 | |
| 30 | |
| 31 | thread_local!{ |
no test coverage detected