build(aio): ensure that internal document links work with base href

This commit is contained in:
Peter Bacon Darwin 2017-03-21 11:27:39 +00:00 committed by Miško Hevery
parent fd7b855cfc
commit 90f699fdcf
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
*/
module.exports = function fixInternalDocumentLinks() {
var INTERNAL_LINK = /(<a [^>]*href=")(#[^"]*)/gm;
var INTERNAL_LINK = /(<a [^>]*href=")(#[^"]*)/g;
return {
$runAfter: ['inlineTagProcessor'],