04-24-2020, 02:12 PM | #1 |
Addict
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
Search comments' HTML?
How do I search the HTML of comments?
I tried: Code:
comments:"<p><br></p>" |
04-24-2020, 03:13 PM | #2 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
did you actually SEE that code in the comments?
Your search results WAS valid because you term was wrong BR is a self closed tag. it needs the / before the > Code:
comments:"<p><br /></p>"
|
04-24-2020, 05:39 PM | #3 | |
Addict
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
Quote:
(I could do a regexp on every book of my library, but wouldn't that change the modification date of every book?) |
|
04-24-2020, 11:31 PM | #4 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's probably because it is actually just a <p><br> (the markup you see via the edit metadata dialog is not an accurate representation of what is present internally as it is roundtripped through Qt's text edit widget.
|
04-25-2020, 06:43 AM | #5 | |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
04-29-2020, 05:45 PM | #6 |
Addict
Posts: 235
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
|
Tags |
calibre, comments, html, metadata, search |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Searching in comments for html-tags | Kuhnke | Calibre | 1 | 05-23-2017 09:33 PM |
Posible but at html comments | Terisa de morgan | Library Management | 8 | 07-05-2016 07:22 AM |
Useful way to search in comments | nssl | Calibre | 18 | 05-06-2016 06:11 PM |
Search comments? | scarlettruin | Library Management | 3 | 04-03-2016 08:13 AM |
Calibre Companion V3.1 HTML Comments | chaley | Calibre Companion | 34 | 09-15-2013 09:22 AM |