Support for HTML5 <audio>

As with <video>,

   [[foo.wav:audio]]

works now, producing an HTML5 <audio> element.
This commit is contained in:
Jacques Distler 2009-03-03 12:17:14 -06:00
parent 8ea8b6a8f7
commit c7418af48d
5 changed files with 32 additions and 17 deletions

View file

@ -19,7 +19,7 @@ module HTML5
module HTMLSanitizeModule
ACCEPTABLE_ELEMENTS = %w[a abbr acronym address area b big blockquote br
ACCEPTABLE_ELEMENTS = %w[a abbr acronym address area audio b big blockquote br
button caption center cite code col colgroup dd del dfn dir div dl dt
em fieldset font form h1 h2 h3 h4 h5 h6 hr i img input ins kbd label
legend li map menu ol optgroup option p pre q s samp select small span
@ -41,8 +41,8 @@ module HTML5
align alt axis border cellpadding cellspacing char charoff charset
checked cite class clear cols colspan color compact controls coords datetime
dir disabled enctype for frame headers height href hreflang hspace id
ismap label lang longdesc maxlength media method multiple name nohref
noshade nowrap prompt readonly rel rev rows rowspan rules scope
ismap label lang longdesc loop maxlength media method multiple name nohref
noshade nowrap poster prompt readonly rel rev rows rowspan rules scope
selected shape size span src start style summary tabindex target title
type usemap valign value vspace width xml:lang]