[LON-CAPA-users] radiobutton with wysiwyg editor

James Mueller lon-capa-users@mail.lon-capa.org
Thu, 10 Sep 2009 14:53:50 -0400

We updated to 2.8.1 in August and a Faculty member just tried to edit  
a radiobutton problem.  He has a formatting question.

The original XML for the problem might have something in it like

<foil location="random" value="true" name="foil1">
<startouttext />One<endouttext />

but after doing only an edit and save, it becomes

<foil location="random" value="true" name="foil1">
<startouttext /><p>One</p><endouttext />

So the new editor is inserting these paragraph tags.  So the answer no  
longer appears net to the radiobutton, but underneath it a little  
extra vertical space.  He is wondering what can he do to get the old  
formatting back.  I can edit the xml and remove the <p> tags, but the  
first time he edits using the editor, it will put them back in.  Is  
there a way he can work around this (without using the xml editor) and  
get the old formatting back?