This is a followup of my question here and uses the same MWE and the config file provided by michal.h21.
MWE:
\documentclass[ebook,12pt,oneside,openany]{memoir}
\usepackage{lipsum}
\setsecheadstyle{\normalsize\itshape\raggedright}
\title{Book}
\author{Author}
\date{}
\begin{document}
\maketitle
\frontmatter
\tableofcontents \newpage
\mainmatter
\chapter{C1}
\section{S1}
\lipsum[1]
\end{document}
Config file:
\Preamble{xhtml}
\Css{h3.sectionHead{font-style:italic;font-weight:normal;}}
\begin{document}
\EndPreamble
The section header is not formatted correctly in the ebook with the current version of tex4ebook on Texlive 2018:
The section link on the table of contents is also faulty.
Is there a way to fix this? Thanks.
memoir.4ht
file