Commits

Anonymous committed 537efa3

fix-html now preserve italics even in spans with multiple styles

Comments (0)

Files changed (1)

files/latextohtml.el

 
 ")
     (replace-regexp
-     (concat "<span class=\"" italic-class "\">\\(.*?\\)</span>")
+     (concat "<span class=\"\\(?:c[0-9]+ \\)*?" italic-class "\\(?: c[0-9]+\\)*?\">\\(.*?\\)</span>")
      "\\\\emph{\\1}")
     (replace-regexp " " " ")
     (replace-regexp "<span.*?>" "")