check in
[Ultimately_Untrue_Thought.git] / notes / patriate_links.py
index c1f23cc..9f666cd 100755 (executable)
@@ -22,7 +22,7 @@ with open(input_file_path, 'r') as file:
     content = file.read()
 
 # Replace the Markdown links with the new format
-rewritten_content = relative_link_pattern.sub(r'](http://unremediatedgender.space/\1)', content)
+rewritten_content = relative_link_pattern.sub(r'](http://unremediatedgender.space/\1\2)', content)
 rewritten_content = relative_image_link_pattern.sub(r'](http://unremediatedgender.space/\1)', rewritten_content)
 
 # Remove the anchors