module Loofah::HTML5::WhiteList

HTML whitelist lifted from HTML5lib sanitizer code:

  http://code.google.com/p/html5lib/

<html5_license>

Copyright (c) 2006-2008 The Authors

Contributors:
James Graham - jg307@cam.ac.uk
Anne van Kesteren - annevankesteren@gmail.com
Lachlan Hunt - lachlan.hunt@lachy.id.au
Matt McDonald - kanashii@kanashii.ca
Sam Ruby - rubys@intertwingly.net
Ian Hickson (Google) - ian@hixie.ch
Thomas Broyer - t.broyer@ltgt.net
Jacques Distler - distler@golem.ph.utexas.edu
Henri Sivonen - hsivonen@iki.fi
The Mozilla Foundation (contributions from Henri Sivonen since 2008)

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

</html5_license>

Constants

ACCEPTABLE_ATTRIBUTES
ACCEPTABLE_CSS_KEYWORDS
ACCEPTABLE_CSS_PROPERTIES
ACCEPTABLE_ELEMENTS
ACCEPTABLE_PROTOCOLS
ACCEPTABLE_SVG_PROPERTIES
ALLOWED_ATTRIBUTES
ALLOWED_CSS_KEYWORDS
ALLOWED_CSS_PROPERTIES
ALLOWED_ELEMENTS

subclasses may define their own versions of these constants

ALLOWED_ELEMENTS_WITH_LIBXML2
ALLOWED_PROTOCOLS
ALLOWED_SVG_PROPERTIES
ATTR_VAL_IS_URI
MATHML_ATTRIBUTES
MATHML_ELEMENTS
PROTOCOL_SEPARATOR
SHORTHAND_CSS_PROPERTIES
SVG_ALLOW_LOCAL_HREF
SVG_ATTRIBUTES
SVG_ATTR_VAL_ALLOWS_REF
SVG_ELEMENTS
TAGS_SAFE_WITH_LIBXML2

additional tags we should consider safe since we have libxml2 fixing up our documents.

VOID_ELEMENTS