malevich 1.18.2

Terminal plotting: a small grammar of marks, honest axes, millions of points
Documentation
1
2
3
4
5
6
7
8
9
10
use super::escape;

#[test]
fn glyphs_are_escaped_as_html_content() {
    let mut html = String::new();
    for glyph in "<&>\"'".chars() {
        escape(glyph, &mut html);
    }
    assert_eq!(html, "&lt;&amp;&gt;\"'");
}