Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
evolution-mono-providers
bnc-449895-remove-html-tags.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc-449895-remove-html-tags.diff of Package evolution-mono-providers
commit ce20f0402dc2e480cdd0848c3c139834368560ee Author: chen <chen@linux-adcj.(none)> Date: Fri Jan 23 05:40:14 2009 +0530 Fixes 449895 (bnc) remove html tags. diff --git a/calendar/backends/sharepoint/ComponentEntry.cs b/calendar/backends/sharepoint/ComponentEntry.cs index 20f335f..dd09ba1 100644 --- a/calendar/backends/sharepoint/ComponentEntry.cs +++ b/calendar/backends/sharepoint/ComponentEntry.cs @@ -7,6 +7,7 @@ using System; using System.Runtime.InteropServices; using Novell.IceDesktop; +using System.Text.RegularExpressions; using Evolution; namespace SharePoint @@ -137,7 +138,7 @@ namespace SharePoint if (String.IsNullOrEmpty (eentry.Description) == false) { string [] description = new string [1]; - description [0] = eentry.Description; + description [0] = Regex.Replace (eentry.Description, "<(.|\n)*?>", String.Empty); comp.Descriptions = description; } @@ -331,7 +332,7 @@ namespace SharePoint if (String.IsNullOrEmpty (tentry.Description) == false) { string [] description = new string [1]; - description [0] = tentry.Description; + description [0] = Regex.Replace (tentry.Description, "<(.|\n)*?>", String.Empty); comp.Descriptions = description; } diff --git a/calendar/backends/sharepoint/sharepoint.mdp b/calendar/backends/sharepoint/sharepoint.mdp index ceb40a8..8d4cbb9 100644 --- a/calendar/backends/sharepoint/sharepoint.mdp +++ b/calendar/backends/sharepoint/sharepoint.mdp @@ -1,4 +1,4 @@ -<Project name="sharepoint" fileversion="2.0" language="C#" clr-version="Net_2_0" ctype="DotNetProject"> +<Project name="sharepoint" fileversion="2.0" language="C#" clr-version="Net_2_0" targetFramework="2.0" ctype="DotNetProject"> <Configurations active="Debug"> <Configuration name="Debug" ctype="DotNetProjectConfiguration"> <Output directory="bin/Debug" assembly="sharepoint" /> @@ -23,7 +23,7 @@ <File name="ComponentEntry.cs" subtype="Code" buildaction="Compile" /> </Contents> <References> - <ProjectReference type="Gac" localcopy="True" refto="evolution-sharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=c46a23b774189844" /> + <ProjectReference type="Gac" localcopy="True" refto="evolution-sharp, Version=5.0.0.0, Culture=neutral, PublicKeyToken=c46a23b774189844" /> <ProjectReference type="Gac" localcopy="True" refto="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> <ProjectReference type="Assembly" localcopy="True" refto="../../factory/interface/Backend.dll" /> <ProjectReference type="Assembly" localcopy="True" refto="../../../../../../../../usr/lib/dice/Novell.IceDesktop.dll" />
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor