#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 vbraun):
Not that easy, pretty print will try to display something "reasonable"
which will not be plain html code outside of the browser:
{{{
sage: pretty_print(HtmlFragment('<b>a</b>'))
\newcommand{\Bold}[1]{\mathbf{#1}}\verb|<b>a</b>|
}}}
This is because `pretty_print` tries to use the rich output (no match on
the command line) and then falls back to latex.
The !HtmlFragment could provide a different representation, but it can't
change the fact that the commandline cannot render html.
--
Ticket URL: <http://trac.sagemath.org/ticket/18292#comment:53>
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.