From 90f699fdcf6e36df64c374d32084a94f35c9946a Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 21 Mar 2017 11:27:39 +0000 Subject: [PATCH] build(aio): ensure that internal document links work with base href --- .../angular.io-package/processors/fixInternalDocumentLinks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js b/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js index 3e95c4cf1f..ed12787a52 100644 --- a/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js +++ b/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js @@ -8,7 +8,7 @@ */ module.exports = function fixInternalDocumentLinks() { - var INTERNAL_LINK = /(]*href=")(#[^"]*)/gm; + var INTERNAL_LINK = /(]*href=")(#[^"]*)/g; return { $runAfter: ['inlineTagProcessor'],