summaryrefslogtreecommitdiff
path: root/doc/markdown
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2014-10-10 18:12:50 -0500
committerVinnie Okada <vokada@mrvinn.com>2014-10-10 18:12:50 -0500
commit1a9c2ddc55cf563ea42d67811a19b2693d7a44e9 (patch)
treed7915f1fb59bb2cb65790b5fdb17eb2ad00253c9 /doc/markdown
parent6798a6a8e224471b69018ad5cc4a526654ea5772 (diff)
downloadgitlab-ce-1a9c2ddc55cf563ea42d67811a19b2693d7a44e9.tar.gz
Document whitelisted HTML tags and attributes
Diffstat (limited to 'doc/markdown')
-rw-r--r--doc/markdown/markdown.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/doc/markdown/markdown.md b/doc/markdown/markdown.md
index 6d96da76ad7..0f63eca1f61 100644
--- a/doc/markdown/markdown.md
+++ b/doc/markdown/markdown.md
@@ -438,6 +438,65 @@ You can also use raw HTML in your Markdown, and it'll mostly work pretty well.
<dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
</dl>
+The following tags can be used:
+
+* `<a/>`
+* `<abbr/>`
+* `<acronym/>`
+* `<address/>`
+* `<b/>`
+* `<big/>`
+* `<blockquote/>`
+* `<br/>`
+* `<cite/>`
+* `<code/>`
+* `<dd/>`
+* `<del/>`
+* `<dfn/>`
+* `<div/>`
+* `<dl/>`
+* `<dt/>`
+* `<em/>`
+* `<h1/>`
+* `<h2/>`
+* `<h3/>`
+* `<h4/>`
+* `<h5/>`
+* `<h6/>`
+* `<hr/>`
+* `<i/>`
+* `<img/>`
+* `<ins/>`
+* `<kbd/>`
+* `<li/>`
+* `<ol/>`
+* `<p/>`
+* `<pre/>`
+* `<samp/>`
+* `<small/>`
+* `<span/>`
+* `<strong/>`
+* `<sub/>`
+* `<sup/>`
+* `<tt/>`
+* `<ul/>`
+* `<var/>`
+
+You can also use the following HTML attributes in your inline tags:
+
+* `abbr`
+* `alt`
+* `cite`
+* `class`
+* `datetime`
+* `height`
+* `href`
+* `name`
+* `src`
+* `title`
+* `width`
+* `xml:lang`
+
## Horizontal Rule
```