Skip to content

MathQuill leading to unwanted input fields when outputformat=ptx #1724

Description

@Alex-Jordan

I'm starting testing WW 2.17 with PreTeXt. I'll start posting issues I find that I may need help with.

If the host course is using MathQuill, then the html2xml response with displayMode=PTX and outputformat=ptx is returning with an HTML input element. For example, look at the source here:

https://webwork-dev.aimath.org/webwork2/html2xml?&problemSeed=1&answersSubmitted=0&sourceFilePath=Library/PCC/BasicAlgebra/Geometry/CylinderVolume10.pg&displayMode=PTX&courseID=anonymous&userID=anonymous&course_password=anonymous&outputformat=ptx

Now, I've turned off MathQuill for this course so you won't see the issue. But if I turn it on, then two input elements precede the answerhashes element:

<input type=hidden name="MaThQuIlL_AnSwEr0001" id="MaThQuIlL_AnSwEr0001" value="" ><input type=hidden name="MaThQuIlL_AnSwEr0002" id="MaThQuIlL_AnSwEr0002" value="" >

Can you point me to where this comes from? I can think about the right way to clear it from outputformat=ptx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions