Subversion Repositories SmartDukaan

Rev

Rev 4188 | Rev 4382 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4188 Rev 4202
Line 16... Line 16...
16
import java.util.Date;
16
import java.util.Date;
17
import java.util.HashMap;
17
import java.util.HashMap;
18
import java.util.List;
18
import java.util.List;
19
import java.util.Map;
19
import java.util.Map;
20
 
20
 
-
 
21
import org.apache.commons.lang.StringEscapeUtils;
21
import org.apache.commons.lang.StringUtils;
22
import org.apache.commons.lang.StringUtils;
22
import org.json.JSONObject;
23
import org.json.JSONObject;
23
 
24
 
24
 
25
 
25
/**
26
/**
Line 367... Line 368...
367
			
368
			
368
			String description = "";
369
			String description = "";
369
			Entity entity = CreationUtils.getEntity(entityId);
370
			Entity entity = CreationUtils.getEntity(entityId);
370
			if(entity!=null){
371
			if(entity!=null){
371
				if(entity.getSlide(130001) !=null){
372
				if(entity.getSlide(130001) !=null){
372
					description = entity.getSlide(130001).getFreeformContent().getFreeformText();
373
					description = StringEscapeUtils.escapeXml(entity.getSlide(130001).getFreeformContent().getFreeformText());
373
					
-
 
374
				}
374
				}
375
			}
375
			}
376
			
376
			
377
			productXMLSnippets.add(this.xmlIndentation[2] + "<ProductDescription>" + description + "</ProductDescription>");
377
			productXMLSnippets.add(this.xmlIndentation[2] + "<ProductDescription>" + description + "</ProductDescription>");
378
			
378