build(aio): ensure that internal document links work with base href
This commit is contained in:
parent
fd7b855cfc
commit
90f699fdcf
|
@ -8,7 +8,7 @@
|
||||||
*/
|
*/
|
||||||
module.exports = function fixInternalDocumentLinks() {
|
module.exports = function fixInternalDocumentLinks() {
|
||||||
|
|
||||||
var INTERNAL_LINK = /(<a [^>]*href=")(#[^"]*)/gm;
|
var INTERNAL_LINK = /(<a [^>]*href=")(#[^"]*)/g;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
$runAfter: ['inlineTagProcessor'],
|
$runAfter: ['inlineTagProcessor'],
|
||||||
|
|
Loading…
Reference in New Issue