#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           |  b2419c9b7b72253d80650e91ed695ff8b108c406
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by novoselt):

 `HTMLFragment` is great, but it seems to me that there is no deprecation
 warning when using `html` - is this correct?

 I am also not convinced that `html` should have "correct" behaviour in
 IPython notebook right away - as long as we support multiple frontends
 they should behave as close to each other as possible. If I type (or copy-
 paste from a different frontend)
 {{{
 def f():
     html("text")

 f()
 }}}
 I want to have the same thing happening in SageNB/IPython/Cell/command
 line - see "text" and get a warning that I should replace `html` to
 `pretty_print(HTMLFragment("text"))` to avoid warning and make sure that
 my code will work the same in the future.

--
Ticket URL: <http://trac.sagemath.org/ticket/18292#comment:43>
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