chore(plunker-builder): better <base href> matching

closes #470
This commit is contained in:
Ward Bell 2015-12-10 11:49:25 -08:00
parent 70e29080f2
commit 72e6a79126
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module.exports = {
var _rxRules = { var _rxRules = {
basehref: { basehref: {
from: /<base href=".*">/, from: /<base href=".*"[/]?>/,
to: '<script>document.write(\'<base href="\' + document.location + \'" />\');</script>' to: '<script>document.write(\'<base href="\' + document.location + \'" />\');</script>'
}, },
script: { script: {