}
+ // Process the DESCRIPTION values. Write out the
+ // first DESCRPITION only as per RFC5545 specifcation.
+
+ if (DescriptionList.size() > 0){
+
+ DataLine += "DESCRIPTION";
+
+ if (DescriptionListAltRep[0].size() > 0){
+
+ DataLine += ";ALTREP=\"";
+ DataLine += DescriptionListAltRep[0];
+ DataLine += "\"";
+
+ }
+
+ if (DescriptionListLanguage[0].size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += DescriptionListLanguage[0];
+
+ }
+
+ if (DescriptionListTokens[0].size() > 0){
+
+ DataLine += ";";
+ DataLine += DescriptionListTokens[0];
+
+ }
+
+ DataLine += ":";
+ DataLine += DescriptionList[0];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
*SaveData += "END:VEVENT\n";
}
\ No newline at end of file
" y of the event.\n"
"CLASS;CHOCOLATE=BAR:PUBLIC\n"
"CREATED;CARAMEL=PLEASE:20160123T081100Z\n"
+ "DESCRIPTION;ALTREP=\"null:nodata\";LANGUAGE=kw;EXAMPLE=TOKEN;MOREDATA=YES:This \n"
+ " is a description of the event.\n"
"END:VEVENT\n"
"END:VCARD";