mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Updated Lib html (markdown)
+3
-1
@@ -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`
|
||||
Reference in New Issue
Block a user