I need to customize some HTML tags when exporting a Mathematica notebook to HTML. I have to use the File ► Save As… FrontEnd token and not Export for some other reasons. So, to make a basic example, this is something that works fine:
Export["test.html", EvaluationNotebook[], "HTML",
"ConversionRules" -> {"ItemNumbered" -> {"<li>", "</li>"},
"Text" -> {"<p class=\"mytext\">", "</p>"}}]
Now, I have seen that at FrontEnd level there is an option named ConversionOptions that includes "ExportOptions", that again includes "ConversionRules". So I'm trying to set such option, by means of the Option Inspector or by SetOptions, so to have the following
ConversionOptions->{"ExportOptions"->{
"HTML" -> {"ConversionRules" -> {"ItemNumbered" -> {"<li>", "</li>"}, "Text" -> {"<p class=\"mytext\">", "</p>"}},
"GraphicsOutput"->"PNG", "MathOutput" -> "PNG", "ConvertClosed" -> False, "ConvertReverseClosed" ->
False, "ConvertLinkedNotebooks" -> False, "Content" -> False,
"CSSInclude" -> True, "CSSRadio" -> False}}}
Unfortunately using File ► Save As… does nothing of what I added into the ConversionOptions. Where I have to set my own export options for HTML?