Ok, thanks so much for showing me that. I have run some tests on an empty test epub book that has "1000" Words in the #Words metadata and the Calibre workflow I have used is introducing <br> tags somehow. Can you look at what I'm doing and give your thoughts please and thanks:
Image 1: Empty epub test file with: 1000 words, no comments, test paragraphs in #blurb (no <br> tags) - I have attached it if someone wants to try this on their system
Image 2: Run S&R regex to copy "Words" count to the comment field:
Search field #wordcount
Replace append mode field comments
See Image 2 and the results of this S&R in Image 3
Notice that the results image does not have any <br> tags anywhere
Image 4: Run S&R regex to append the #blurb paragraphs to the comment field:
Search field #blurb
or
Replace append mode field comments
See Image 4 and the results of this in Images 5 (normal view) and 6 (html view) where <br> tags have somehow been introduced???
If I do NOT run the 1st S&R regex copying the word count into the comments, <br> tags are not introduced by the 2nd regex copying the blurb
If I have an empty comments field OR have manually typed in the word count into the comments field first (ie again, not running the 1st regex) before running the 2nd regex, <br> tags are not introduced.
I guess my final question would be if this is a Calibre issue or QT5/6 issue?