#4076: notebook -- <$> ... </$> and <$$> ... </$$> don't work in the notebook as
the help page claims
----------------------------+-----------------------------------------------
Reporter: TimothyClemans | Owner: boothby
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.2
Component: notebook | Keywords:
----------------------------+-----------------------------------------------
Help page claims:
{{{
Begin an input block with %html and it will be output as HTML. Use the
<sage>...</sage> tag to do computations in an HTML block and have the
typeset output inserted. Use <$>...</$> and <$$>...</$$> to insert typeset
math in the HTML block. This does not require latex.
}}}
The html function clearly doesn't properly deal with the < and >.
{{{
sage: html(r'let <$>K = \mathbb{Q} 17 (\sqrt{-2})</$>')
<html><font color='black'>let <<span class="math">>K = \mathbb{Q} 17
(\sqrt{-2})</</span>></font></html>
sage: html(r'let <$$>K = \mathbb{Q} 17 (\sqrt{-2})</$$>')
<html><font color='black'>let <<div class="math">>K = \mathbb{Q} 17
(\sqrt{-2})</</div>></font></html>
}}}
The output should be the same as
{{{
sage: html(r'let $K = \mathbb{Q} 17 (\sqrt{-2})$')
<html><font color='black'>let <span class="math">K = \mathbb{Q} 17
(\sqrt{-2})</span></font></html>
sage: html(r'let $$K = \mathbb{Q} 17 (\sqrt{-2})$$')
<html><font color='black'>let <div class="math">K = \mathbb{Q} 17
(\sqrt{-2})</div></font></html>
}}}
This is based on the bug report given on 8/25/08 by [EMAIL PROTECTED]
available at
http://spreadsheets.google.com/pub?key=pCwvGVwSMxTzT6E2xNdo5fA
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4076>
SAGE <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---