projects
/
Ultimately_Untrue_Thought.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check in
[Ultimately_Untrue_Thought.git]
/
notes
/
patriate_links.py
diff --git
a/notes/patriate_links.py
b/notes/patriate_links.py
index
c1f23cc
..
9f666cd
100755
(executable)
--- 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
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
rewritten_content = relative_image_link_pattern.sub(r'](http://unremediatedgender.space/\1)', rewritten_content)
# Remove the anchors