View Single Post
Old 07-05-2014, 05:37 PM   #8
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by shotsky View Post
Actually, what is happening is that the original attribute name is replaced with the intit attribute in the html itself.
Yes, I understood you the first time. All I was trying to say was that if the conversion process, which minimises and simplifies all the css, decides that only one of "RM-recipe-method" and "intit" are needed then all attributes in the html for the 'superfluous' class name would be renamed to the 'retained' class name ... but conversion is complicated and there's probably a lot more to it than that.

I think you've had the official answer to your request. I've never seen calibre produce html tags with multiple classes e.g. <p class="xxx yyy"> so I'd be surprised if it started now (thankfully from my POV, I'd hate that).

Speaking only for myself, I try to keep my input tags and classes as simple/minimal as possible and have found that calibre seems to retain my input class names during conversion these days (except, of course, when the input html has classless tags like <h1>, <p> etc). Whether this is pure dumb luck or whether I've inadvertently found a 'magic formula', I don't know. I suspect the former
jackie_w is offline   Reply With Quote