Summary: | HTML special chars are not escaped for To-do list in Summary | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Michaël Perrin <michael.perrin> |
Component: | summary | Assignee: | Allen Winter <winter> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michaël Perrin
2007-06-11 16:13:24 UTC
The same problem found in Kontact 3.5.6 on SUSE 10.0. I propose to remove HTML tags completly from the summary, instead of just escaping them. A smart regext should do the work. This seems to work ok in the trunk version being prepared for the 4.1 release. I see the to-do summaries in bold or italic (or both) just fine now. However, there are other problems... for example the summary "Fred << Ethel" will cause only "Fred" to be shown. I think because each '<' needs to be converted to < So I'm not closing yet SVN commit 814894 by winterz: escape <,>,& in non-richtext summaries BUGS: 146670 need to do this for appointment and special date summaries too. M +5 -1 todosummarywidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=814894 |