Hi Tim! On 2 Apr., 19:24, Tim Joseph Dumol <t...@timdumol.com> wrote: > I believe html(C) is used to display an HTML string (say, "<strong>Hello > World!</strong>"). It is not meant to return an HTML representation of an > arbitrary object.
OK. But still: Shouldn't it display a *nice* HTML string (provided by a special method) rather than just display the usual string representation of the object? Example: The status quo is sage: R.<t>=QQ[] sage: p = R.random_element() sage: p -3/4*t^2 + 7*t - 1 sage: html(p) <html><font color='black'>-3/4*t^2 + 7*t - 1</font></html> Shouldn't the result rather be <html><font color='black'><nobr>-3/4·t<sup>2</sup> + 7·t - 1</nobr></ font></html> or so? I really thought this would already be implemented (using a special method _html_) Cheers, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.