これらは、チャンネルのコミュニティの壁/表紙ページで許可されているHTML要素、属性およびプロトコルです。
このリストに含まれていないHTMLコードは、表紙ページには表示されません。
許可された要素
"b", "em", "i", "strong", "u", "a", "abbr", "blockquote", "br", "cite", "code", "dd", "dfn", "dl", "dt", "kbd", "li", "mark", "ol", "p", "pre", "q", "s", "samp", "small", "strike", "sub", "sup", "time", "ul", "var", "address", "article", "aside", "bdi", "bdo", "body", "caption", "col", "colgroup", "data", "del", "div", "figcaption", "figure", "footer", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "img", "ins", "main", "nav", "rp", "rt", "ruby", "section", "span", "style", "summary", "sup", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "wbr"
許可される属性
:all = > %w[class dir hidden id lang style tabindex title translate]
'a' = > %w[href hreflang name rel],
'col' = > %w[span width],
'colgroup' = > %w[span width],
'data' = > %w[value],
'del' = > %w[cite datetime],
'img' = > %w[align alt border height src width],
'ins' => %w[cite datetime],
'li' => %w[value],
'ol' => %w[reversed start type],
'style' => %w[media scoped type],
'table' => %w[align bgcolor border cellpadding cellspacing frame rules sortable summary width],
'td' => %w[abbr align axis colspan headers rowspan valign width],
'th' => %w[abbr align axis colspan headers rowspan scope sorted valign width],
'ul' => %w[type]
'abbr' => %w[title],
'blockquote' => %w[cite],
'dfn' => %w[title],
'q' => %w[cite],
'time' => %w[datetime pubdate]
許可されるプロトコル
'a' = > {'href' = > ['ftp', 'http', 'https', 'mailto', :relative]}、
'blockquote' = > {'cite' => ['http', 'https', :relative]}、
'q' = > {'cite' = > ['http', 'https', :relative]}
'del' = > {'cite' = > ['http', 'https', :relative]}、
'img' => {'src' => ['http', 'https', :relative]},
'ins' => {'cite' => ['http', 'https', :relative]}
ブラックリストに載せられた画像サイト
korean-drama-guide.com
コメント
記事コメントは受け付けていません。