diff --git a/frontends/src/tools/strings.py b/frontends/src/tools/strings.py
index 632b616d..280f13d0 100644
--- a/frontends/src/tools/strings.py
+++ b/frontends/src/tools/strings.py
@@ -84,7 +84,7 @@ def fixXHTMLLinks(xhtml):
for match in re.finditer(r'', xhtml):
tag = match.group(0)
url = re.search(r'href="([^"]*)"', tag)
- if url:
+ if url and not url.group(1).startswith("#"): # skip internal anchor
if not re.search(r'target="([^"]*)"', tag): # no target
subs.append((tag, '