Opened 12 years ago

Closed 12 years ago

#77 closed task (fixed)

html generator

Reported by: peter Owned by: peter
Priority: major Milestone: 0.5
Component: output Version: trunk
Keywords: Cc:

Description (last modified by peter)

A function like: void html(istream&, ostream&, char delim='\n')

The function parses through the istream until delim is found. For most characters the character is copied into ostream. However, some exceptions which include:

" becomes \"

\n becomes <br/>

< becomes &lt;

becomes &gt;

& becomes &amp;

\t becomes &nbsp; &nbsp; (or should we follow the more standard of four spaces for a tab?)

This is needed for ref #62.

Change History (3)

comment:1 Changed 12 years ago by peter

  • Description modified (diff)

comment:2 Changed 12 years ago by peter

  • Status changed from new to assigned

comment:3 Changed 12 years ago by peter

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [178]) fixes #77 text to html translator

Note: See TracTickets for help on using tickets.