Menu

#12 <super> tag doesn't exist in HTML

open-fixed
nobody
None
5
2002-09-30
2002-09-27
No

The <super> tag which the paragraph formatter
understands doesn't exist in HTML. The HTML
superscript tag is <sup>. (Certainly IE 6 doesn't
recognise <super>.)

This is irritating since it is otherwise possible to store
text in a database with limited formatting
(<b><i><font><sub>) and use this both in web pages
and in ReportLab and have it rendered correctly, but
superscripts will break.

It cannot be too difficult to make the paragraph formatter
understand both <super> and <sup>. Indeed we could
do this immediately by adding the two lines

start_sup = start_super
end_sup = end_super

to class ParaParser in platypus/paraparser.py. How
about it then?

Discussion

  • Robin Becker

    Robin Becker - 2002-09-30
    • labels: 389133 -->
    • milestone: 100717 -->
    • assigned_to: rgbecker --> nobody
    • status: open --> open-fixed
     
  • Robin Becker

    Robin Becker - 2002-09-30

    Logged In: YES
    user_id=6946

    not really a 'bug', but added sup as a synonym
    in CVS

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.