equal
deleted
inserted
replaced
66 } |
66 } |
67 |
67 |
68 |
68 |
69 EXPORT_C void PodcastUtils::CleanHtmlL(TDes &str) |
69 EXPORT_C void PodcastUtils::CleanHtmlL(TDes &str) |
70 { |
70 { |
|
71 |
|
72 if (str.Length() == 0) |
|
73 { |
|
74 return; |
|
75 } |
|
76 |
71 // miscellaneous cleanup |
77 // miscellaneous cleanup |
72 const TChar KLineBreak(CEditableText::ELineBreak); |
78 const TChar KLineBreak(CEditableText::ELineBreak); |
73 _LIT(KNewLine, "\n"); |
79 _LIT(KNewLine, "\n"); |
74 _LIT(KNewLineWindows, "\r\n"); |
80 _LIT(KNewLineWindows, "\r\n"); |
75 ReplaceString(str, KNewLine, KNullDesC); |
81 ReplaceString(str, KNewLine, KNullDesC); |