|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
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>" |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,269
Karma: 61916422
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 wrongBR is a self closed tag. it needs the / before the > Code:
comments:"<p><br /></p>"
|
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
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?) |
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
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.
|
|
|
|
|
|
#5 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,020
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
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 10:33 PM |
| Posible but at html comments | Terisa de morgan | Library Management | 8 | 07-05-2016 08:22 AM |
| Useful way to search in comments | nssl | Calibre | 18 | 05-06-2016 07:11 PM |
| Search comments? | scarlettruin | Library Management | 3 | 04-03-2016 09:13 AM |
| Calibre Companion V3.1 HTML Comments | chaley | Calibre Companion | 34 | 09-15-2013 10:22 AM |