Blockquotes are HTMLQuoteElements in the latest HTML5 specs.
This commit is contained in:
parent
3066be24af
commit
baf5a4ec13
@ -388,8 +388,12 @@ filter =
|
|||||||
regexps: {}
|
regexps: {}
|
||||||
callbacks: []
|
callbacks: []
|
||||||
init: ->
|
init: ->
|
||||||
HTMLBlockquoteElement.prototype.toString = ->
|
HTMLQuoteElement.prototype.toString = ->
|
||||||
return ($.el 'a', innerHTML: @innerHTML.replace /<br>/g, '\n').textContent
|
return ($.el 'a', innerHTML: @innerHTML.replace /<br>/g, '\n').textContent
|
||||||
|
#to remove when both chrom, ff and oprah will define blockquotes as HTMLQuoteElement
|
||||||
|
if HTMLBlockquoteElement
|
||||||
|
HTMLBlockquoteElement.prototype.toString = ->
|
||||||
|
return ($.el 'a', innerHTML: @innerHTML.replace /<br>/g, '\n').textContent
|
||||||
|
|
||||||
for key of config.filter
|
for key of config.filter
|
||||||
unless m = conf[key].match /(.+)/g
|
unless m = conf[key].match /(.+)/g
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user