Skip to content

Commit

Permalink
remove sanitize.dm list doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 committed May 13, 2024
1 parent 0473992 commit fb9674b
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions dmsrc/sanitize.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,3 @@
* * tag_whitelist_json: a json_encode()'d list of HTML tags to allow in the final string.
*/
#define rustg_sanitize_html(text, attribute_whitelist_json, tag_whitelist_json) RUSTG_CALL(RUST_G, "sanitize_html")(text, attribute_whitelist_json, tag_whitelist_json)

/*
* Here is a recommended default tag whitelist
list(
"b","br",
"center", "code",
"dd", "del", "div", "dl", "dt",
"em",
"font",
"h1", "h2", "h3", "h4", "h5", "h6", "hr",
"i", "ins",
"li",
"menu",
"ol",
"p", "pre",
"span", "strong",
"table",
"tbody",
"td",
"th",
"thead",
"tfoot",
"tr",
"u",
"ul",
)
*/

0 comments on commit fb9674b

Please sign in to comment.