CSS Classes on Buttons Break 11.3 Web Exports

My organization updated a few of our 11.2a instances to 11.3. After I exported my courses to HTML in 11.3, I pulled them up in the browser and they were all broken. The pages never rendered correctly and were completely unusable. After much debugging, it became clear that the issue revolved around buttons in my courses having CSS classes applied. When classes were applied, Lectora wrote out the javascript in the HTML exports incorrectly. See below for an example.


Incorrect code from Lectora:

  • button49569 = new ObjButton('button49569','Back',704,659,28,29,1,23,'div', ,'back', 1)


What it should be:

  • button49569 = new ObjButton('button49569','Back',704,659,28,29,1,23,'div','back', 1)


Has anyone else had this issue?

Discussion (1)

I'm also experiencing this same issue. There's an extra comma generated in code. As soon as I remove the class name, the page works again. Not ideal since it effects 40+ buttons spread throughout the course.

Discussions have been disabled for this post