PDF→EPUB: Fix Find & Replace.

Messed up the line break.
This commit is contained in:
tastytea 2021-03-29 22:09:09 +02:00
parent 8dd2375d40
commit 0584a26902
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -240,8 +240,8 @@ the EPUB right now. I found that the footnote-numbers are usually preceded by a
space and followed by a space or `<`. I use the find & replace function in
Calibre in Regex-mode to convert them to hyperlinks.
Find: ``&nbsp;([0-9]{1,3})([ <])`` (note the leading space) + Replace: `<sup><a
epub:type="noteref" role="doc-noteref" href="#fn1_\1">\1</a></sup>\2`
Find: ``&nbsp;([0-9]{1,3})([ <])`` (note the leading space) +
Replace: `<sup><a epub:type="noteref" role="doc-noteref" href="#fn1_\1">\1</a></sup>\2`
Press kbd:[<f3>] to search through the text and kbd:[C-r] to replace.