ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Iffy/Iffy.cpp
(Generate patch)

Comparing Iffy/Iffy.cpp (file contents):
Revision 278 by Douglas Thrift, 2004-11-13T14:04:03-08:00 vs.
Revision 279 by Douglas Thrift, 2004-11-13T16:14:50-08:00

# Line 82 | Line 82 | bool Iffy::debug(false);
82  
83   void Iffy::iffy(ios::Reader& in, ios::Writer& out)
84   {
85 +        ios::FormatWriter fout(out);
86 +
87 +        fout << "<html>";
88 +
89          ext::String segment;
90          bool text(true);
87        ios::FormatWriter fout(out);
91          ext::Stack<ext::String> opens;
92  
93          while (read(in, segment, text)) if (text)
# Line 119 | Line 122 | void Iffy::iffy(ios::Reader& in, ios::Wr
122  
123                  text = true;
124          }
125 +
126 +        fout << "</html>\n";
127   }
128  
129   bool Iffy::read(ios::Reader& in, ext::String& segment, bool text)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines