Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnFrame.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.20 by maloninc, Thu Sep 29 04:15:30 2005 UTC revision 1.21 by maloninc, Sat Oct 1 05:43:58 2005 UTC
# Line 152  void mnFrame::makeHtml(WikiData* wikiDat Line 152  void mnFrame::makeHtml(WikiData* wikiDat
152          wxRegEx exp8(wxT("\\{\\{([^\\}]+)\\}\\}"));          wxRegEx exp8(wxT("\\{\\{([^\\}]+)\\}\\}"));
153          exp8.Replace(&htmlText, wxT("<a href=mndoc:\\1>\\1</a>"));          exp8.Replace(&htmlText, wxT("<a href=mndoc:\\1>\\1</a>"));
154    
155            /* table */
156            wxRegEx exp10(wxT(",([^,\n]+)"), wxRE_DEFAULT);
157            exp10.Replace(&htmlText, wxT("<td>\\1</td>"));
158            wxRegEx exp11(wxT("^<td>"), wxRE_NEWLINE|wxRE_DEFAULT);
159            exp11.Replace(&htmlText, wxT("<tr><td>"));
160            wxRegEx exp12(wxT("</td>$"), wxRE_NEWLINE|wxRE_DEFAULT);
161            exp12.Replace(&htmlText, wxT("</td></tr>"));
162            wxRegEx exp13(wxT("\n\n<tr>"));
163            exp13.Replace(&htmlText, wxT("\n<table border>\n<tr>"));
164            wxRegEx exp14(wxT("</tr>\n\n"));
165            exp14.Replace(&htmlText, wxT("</tr>\n</table>\n"));
166            wxRegEx exp15(wxT("</tr>\n"));
167            exp15.Replace(&htmlText, wxT("</tr>"));
168            
169          /* Highlight search text */          /* Highlight search text */
170          highlight = isHighlight;          highlight = isHighlight;
171          if(isHighlight) {          if(isHighlight) {

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26