You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-18Lines changed: 22 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -37,32 +37,36 @@ Or, more realistically:
37
37
require 'github/markup'
38
38
GitHub::Markup.render(file, File.read(file))
39
39
40
+
Contributing
41
+
------------
42
+
43
+
See [Contributing](CONTRIBUTING.md)
44
+
40
45
HTML sanitization
41
46
-----------------
42
47
43
48
HTML rendered by the various markup language processors gets passed through an [HTML sanitization filter](https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/sanitization_filter.rb) for security reasons. HTML elements not in the whitelist are removed. HTML attributes not in the whitelist are removed from the preserved elements.
44
49
45
50
The following HTML elements, organized by category, are whitelisted:
46
51
47
-
* Headings: h1, h2, h3, h4, h5, h6, h7, h8
48
-
* Prose: p, div, blockquote
49
-
* Preformatted: pre
50
-
* Inline: b, i, strong, em, tt, code, ins, del, sup, sub, kbd, samp, q, var
0 commit comments