7.5.1 Pro Case description shows html-encoding

A case created from email containing code:

RegionPlot[x <= 1/Sqrt[2], {x, -5, 1}, {y, -3, 3}]

displays in the Case description as:

RegionPlot[x &lt;= 1/Sqrt[2], {x, -5, 1}, {y, -3, 3}] 

If I set 'type'='>html' in record.php the < displays correctly but I loose all line breaks.
Currently the repair.php entry for Case.description is:

               
        array (
          'name' => 'description',
          'nl2br' => true,
          'span' => 12,
        ),
         
thanks,
FrancescaS
Parents Reply
  • Just saw this is fixed in 7.7.1

    My guys can't wait that long. They have to reply to cases with Mathematica code in them and getting things like

    In[6]:= &lt;|"foo" -&gt; Nothing|&gt;;

    Out[6]= &lt;|"foo" -&gt; Nothing|&gt;;

    for code is driving them up the wall to say the least. And this is a simple example.

    The Email module displays the same garbage so there is no way for the guys to get the code in a readable manner.

    Any temporary fixes we can put in, even if it's not upgrade safe?

    thanks,
    FrancescaS

Children
No Data