Hi
Maybe I misunderstood something, but I can't see why it would be necessary to use a regex-function for this.
1. The calibre editor, as Kovid wrote, can merge all the notes placed in their own pages.
2. On the CSS side, I fail to see the usefulness of ordered list code for the footnotes. It's a separate issue of course.
Here is the end result after these two changes.
|