cosmetic changes

This commit is contained in:
rolux 2013-11-08 18:56:29 +01:00
parent 00bbbd6af9
commit 25a5b9d712

View file

@ -12,9 +12,7 @@
// tables
'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr',
// other
'a', 'br', 'img', 'figure', 'figcaption',
// iframe
'iframe',
'a', 'br', 'figure', 'figcaption', 'iframe', 'img',
// special
'rtl', '[]'
],
@ -39,12 +37,6 @@
'</a>'
]
],
img: [
[
/<img [^<>]*?src="((\/|https?:\/\/).+?)".*?>/gi,
'<img src="{1}">'
]
],
iframe: [
[
/<iframe [^<>]*?width="(\d+)" height="(\d+)"[^<>]*?src="((\/|https?:\/\/).+?)".*?>/gi,
@ -59,6 +51,12 @@
'</iframe>'
]
],
img: [
[
/<img [^<>]*?src="((\/|https?:\/\/).+?)".*?>/gi,
'<img src="{1}">'
]
],
rtl: [
[
/<rtl>/gi,