Remove extra <style> when adding inline style.
Remove additional script tags when adding inline script.
Change to simpler inline style regexp.