View Issue Details

IDProjectCategoryView StatusLast Update
0003299JEDI VCL00 JVCL Componentspublic2006-04-05 01:23
ReporterdsidersAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.30 
Summary0003299: TJvMarkupViewer.ParseHtml error in nested ParseTag
DescriptionThe parse tag procedure in TJvMarkupViewer.ParseHtml contains an error.

  // handle LTag
  LTag := LowerCase(LTag);
  ...
  if LTag = 'I' then
  begin // italic
    PushTag;
    FStyle := FStyle + [fsItalic];
  end
  else
  if LTag = '/I' then
  begin // cancel italic
    FStyle := FStyle - [fsItalic];
    PopTag;
  end
  ...

As you can see, neither nor tagsd are handled properly because the value in the comparision is uppercase while the tag is lowercase.
Additional InformationLine 321 in JvMarkupViewer.pas
TagsNo tags attached.

Activities

obones

2006-04-04 05:09

administrator   ~0008867

Thanks, this is now ready to be commited to CVS as soon as it is back online.

obones

2006-04-05 01:23

administrator   ~0008944

This is now in CVS

Issue History

Date Modified Username Field Change
2005-11-03 12:19 dsiders New Issue
2006-04-04 05:09 obones Note Added: 0008867
2006-04-04 05:09 obones Status new => confirmed
2006-04-05 01:23 obones Status confirmed => resolved
2006-04-05 01:23 obones Resolution open => fixed
2006-04-05 01:23 obones Assigned To => obones
2006-04-05 01:23 obones Note Added: 0008944