Changeset 655 for cprs/branches/tmg-cprs/CPRS-Chart/Templates
- Timestamp:
- Jan 4, 2010, 2:07:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/Templates/fTemplateDialog.pas
r654 r655 264 264 if(frmTemplateDialog.ModalResult = mrOK) then begin 265 265 GetText(SL, TRUE); {TRUE = Include embedded fields} 266 { 266 267 if uTemplates.bUsingHTMLMode then begin 267 268 SL.Text := FormatHTMLTags(SL.Text); … … 269 270 SL.Text := RemoveHTMLTags(SL.Text); 270 271 end; 272 } 271 273 end else begin 272 274 if (not PreviewMode) and (not frmTemplateDialog.Silent) and (not uInit.TimedOut) then … … 380 382 tmp := TStringList.Create; 381 383 try 382 tmp.text := AText; 384 if uTemplates.bUsingHTMLMode then begin //elh 01/04/10 385 tmp.text := FormatHTMLTags(AText); 386 end else begin 387 tmp.text := RemoveHTMLTags(AText); 388 end; 389 //elh tmp.text := AText; 383 390 CheckBoilerplate4Fields(tmp, CaptionText, PreviewMode); 384 391 AText := tmp.text;
Note:
See TracChangeset
for help on using the changeset viewer.