#18292: Fix HTML output
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_info
       Priority:  major              |    Milestone:  sage-6.7
      Component:  notebook           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:  Andrey Novoseltsev
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/fix_html_output           |  6def164370b96868c373f85ed81fe861cc2e336e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by novoselt):

 OK, the command line is a bit of a pathological example, although it would
 be nice to at least avoid latex wrapping of html.

 All other backends, however, do use browsers and can show html properly:
 we want users to use `pretty_print(HTMLFragment(...))` and all I propose
 is that meanwhile `html` will effectively do exactly that. For that
 matter, if its current logic goes to `HTMLFragment` its code can be
 literally
 {{{
 def html(*args, **kwds):
     deprecation(18292, "html behaviour will change, please use
 pretty_print(HTMLFragment(...)) instead")
     pretty_print(HTMLFragment(*args, **kwds))
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18292#comment:54>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to