Quote:
Originally Posted by 01100001
So what I was already doing (as seen in the first example). It wasn't working because Calibre uses QT-specific CSS property for indentation -qt-list-indent.
Thanks to this link @kovidgoyal had shared in an older post showing all supported HTML Tags & Attributes and CSS Properties & Selectors: https://doc.qt.io/qt-5/richtext-html-subset.html
That clears things up. I will have to find some other way to sort my issues.
Thank you!
Edit to clarify: The CSS property user-select isn't supported.
|
Having failed with CSS I made it work using a table instead of an unordered list.
Code:
program:
j = '';
for i in $tags:
j = j & '<tr><td>•</td><td><a href="' & re(i, '"', '"') & '">' & i & '</a></td></tr>'
rof;
if j then '<table>' & j & '</table>'else '' fi;
EDIT: Forgot the </tr> on the original template. Corrected.