diff --git a/ReactNativeClient/lib/MdToHtml/rules/link_open.js b/ReactNativeClient/lib/MdToHtml/rules/link_open.js index 3cac1c563..ef72dbf43 100644 --- a/ReactNativeClient/lib/MdToHtml/rules/link_open.js +++ b/ReactNativeClient/lib/MdToHtml/rules/link_open.js @@ -29,7 +29,7 @@ function installRule(markdownIt, mdOptions, ruleOptions) { let js = ruleOptions.postMessageSyntax + "(" + JSON.stringify(href) + "); return false;"; if (hrefAttr.indexOf('#') === 0 && href.indexOf('#') === 0) js = ''; // If it's an internal anchor, don't add any JS since the webview is going to handle navigating to the right place - if (js) hrefAttr = '#'; + // if (js) hrefAttr = '#'; return "" + icon; }; }