0
$\begingroup$

This is the result of Mathematica 10.0.2 of Linux Version. There are two style inside one tag, and this fragment cannot be Imported as XML by Mathematica.enter image description here enter image description here

This is the result of Mathematica 10.1 of Windows Version. This is the right result.enter image description here

Is this a bug? and is this fixed in Mathematica 10.1 of Linux Version?

item = 
Item[Style[Hyperlink["test", "test"], FontColor -> Red, 
FontSize -> 20, Bold], ItemSize -> {30, 5}];
ImportString[ExportString[item, "HTMLFragment"],"XML"]
$\endgroup$
  • $\begingroup$ I get your correct result on 10.1 and Fedora. $\endgroup$ – b.gates.you.know.what Apr 25 '15 at 16:51
  • $\begingroup$ I get your correct result on 10.1 and the bad result on 10.0.2 on OSX. Could you please make it make explicit that the ImportString call is part of the test? $\endgroup$ – Jacob Akkerboom Apr 28 '15 at 15:10
  • $\begingroup$ Could you please clean up this question and only use screenshots for output? I feel that the bugs tags has been applied over early and the fact that the question is not completely clear is not helping. $\endgroup$ – Jacob Akkerboom Apr 29 '15 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.