![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Entering metadata comments as HTML list
I was recently trying to enter Comments metadata for a short story anthology as an unordered list. I typed the following simple code directly in the 'HTML source' box
Code:
<ul><li>Story one</li><li>Story two</li><li>Story three</li></ul> Code:
<ul><li style="margin-left: 0px; margin-bottom: 0px; margin-top: 12px; margin-right: 0px; text-indent: 0px">Story one</li> <li style="margin-left: 0px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px; text-indent: 0px">Story two</li> <li style="margin-left: 0px; margin-bottom: 12px; margin-top: 0px; margin-right: 0px; text-indent: 0px">Story three</li></ul> I was wondering whether there's anything at all I can do about it? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,301
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
use the GUI controls to insert lists, see the markup they produce and copy that in your source HTML editing.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Code:
<ul><li style="margin-bottom: 0px; margin-right: 0px; margin-top: 0px; margin-left: 0px; text-indent: 0px">Story one</li> <li style="margin-bottom: 0px; margin-right: 0px; margin-top: 0px; margin-left: 0px; text-indent: 0px">Story two</li> <li style="margin-bottom: 0px; margin-right: 0px; margin-top: 0px; margin-left: 0px; text-indent: 0px">Story three</li></ul> |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,301
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
those are inserted by Qt's annoyingly bad rich text editor. But I suppose I can strip them out again https://github.com/kovidgoyal/calibr...241d4e79e2e7b2
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,301
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes we are well. it's a hotspot, and there have been some confirmed cases half a km down the road, but so far no closer.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about regex and html comments | Vortex | Calibre | 1 | 09-22-2018 05:49 AM |
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 |
Comments in Metadata-dialog: Icons in normal view missing, changes in HTML not saved | ikarus1969 | Calibre | 3 | 11-06-2013 02:40 PM |
Metadata Comments Field - How to best tweak the html? | Chris_Snow | Library Management | 5 | 08-13-2013 02:58 AM |