From 91ca67c058df26754b372ac19769bc63c42682eb Mon Sep 17 00:00:00 2001 From: kud1ing Date: Tue, 7 May 2013 03:36:15 -0700 Subject: [PATCH] Updated Lib html (markdown) --- Lib-html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib-html.md b/Lib-html.md index 396a0c3..bedc2aa 100644 --- a/Lib-html.md +++ b/Lib-html.md @@ -56,6 +56,8 @@ A library/module for escaping/unescaping of special HTML characters. ### Additional implementation notes -- `escape_basic()` only escapes the necessary 5 (?) characters which are necessary for security/forms/URLs +Question: where to get from the complete list of characters to escape and entities to produce? + +- `escape_minimal()` only escapes the necessary 5 (?) characters which are necessary for security/forms/URLs - `escape_full()` escapes all characters - We probably should use a table-lookup (binary search), similar to the code in `libcore/unicode.rs` \ No newline at end of file