Commits

Christian Jann committed 5d06101 Draft

Fix for the fix

Sometimes I hate sphinx:
<a name="more"/> gets replaced with <a name="more"> --> does not work,
everything which follows gets underlined

<a name="more"></a> gets replaced with <a name="more"/> but the
Read More link will not be inserted

<a name="more"> </a> seems to work

  • Participants
  • Parent commits f8b2395

Comments (0)

Files changed (2)

File tinkerer/ext/patch.py

     """
     Create "read more" link if marker exists.
     """
-    marker_more = '<a name="more"/>'
+    marker_more = '<a name="more"> </a>'
     pos = body.find(marker_more)
 
     if pos == -1:

File tinkerer/ext/readmore.py

 
 
     def run(self):
-        return [nodes.raw("", '<a name="more"/>', format="html")] 
+        return [nodes.raw("", '<a name="more"> </a>', format="html")]