diff --git a/src/mobile.startup/PageGateway.js b/src/mobile.startup/PageGateway.js index 091cb6b3b..dbd716564 100644 --- a/src/mobile.startup/PageGateway.js +++ b/src/mobile.startup/PageGateway.js @@ -53,7 +53,7 @@ function transformSections( sections ) { // section will not have a parent and will be appended to the result. sections.forEach( function ( section ) { if ( section.line !== undefined ) { - section.line = section.line.replace( /<\/?a\b[^>]*>/g, '' ); + section.line = section.line.replace( /<\/?a\b("[^"]*"|'[^']*'|[^>])*>/g, '' ); } section.subsections = [];