X-Git-Url: http://unremediatedgender.space/source?a=blobdiff_plain;f=notes%2Fpatriate_links.py;fp=notes%2Fpatriate_links.py;h=9f666cd79560a4dd8a1e405a933a5a91ce8c786d;hb=a2cd8c85a18bc8213069b62eb684790b86525312;hp=c1f23cc2bb3e19b1f226175e1cc99593cc7f0943;hpb=0a9f55af6d37b6ff386c64071fe3e6446b46b882;p=Ultimately_Untrue_Thought.git diff --git a/notes/patriate_links.py b/notes/patriate_links.py index c1f23cc..9f666cd 100755 --- a/notes/patriate_links.py +++ b/notes/patriate_links.py @@ -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