Page MenuHomePhabricator
Authored By
Platonides
Sep 7 2020, 9:48 PM
Size
594 B
Referenced Files
None
Subscribers
None

PageGateway.patch

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 = [];

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8532250
Default Alt Text
PageGateway.patch (594 B)

Event Timeline