forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Lib html
kud1ing edited this page May 6, 2013
·
16 revisions
A library/module for escaping of HTML characters.
- Proposed editor: your name
- Date proposed: date of proposal
- Link: link to email
- note
- note
- note
- Standard: standard - link to docs - ...
- Standard: standard - link to docs - ...
- Technique: technique - link to docs - ...
- Technique: technique - link to docs - ...
- Language: Go
- html
-
EscapeString(s string) string
escapes only five characters: <, >, &, ' and " -
UnescapeString(s string) string
unescapes more characters
-
- Pull request: link to bug
- we probably should use a table-lookup (binary search), similar to the code in
libcore/unicode.rs