Tag Info

New answers tagged

2

OP's stuff: html = "<div style=\"text-align: center;\"> This is <span style=\"font-size: 21px;\"> <i>an example</i></span> of a <u> <font face=\"Georgia\" style=\"font-size: 19px;\">text \ cell</font></u> with <font color=\"#c14dff\" style=\"\">complex styles</font> \ ...


1

Finally, after many attempts, I had the answer: the ConversionOptions have to be assigned to "XHTML" and not to "HTML". Indeed, this works: ConversionOptions->{ "ExportOptions"->{"XHTML" -> {"ConversionRules" -> {"ItemNumbered" -> {"<li>", "</li>"}, "Text" -> {"<p class=\"mytext\">", "</p>"}}, ...



Top 50 recent answers are included