|
|
@@ -44,7 +44,10 @@ public class QuestionController extends BaseApiController {
|
|
|
String clearHtml = "";
|
|
|
if(textContent != null && textContent.getContent() != null && !textContent.getContent().isEmpty()){
|
|
|
QuestionObject questionObject = JsonUtil.toJsonObject(textContent.getContent(), QuestionObject.class);
|
|
|
- clearHtml = HtmlUtil.clear(questionObject.getTitleContent());
|
|
|
+ if(questionObject!=null){
|
|
|
+ clearHtml = HtmlUtil.clear(questionObject.getTitleContent());
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
question.setShortTitle(clearHtml);
|
|
|
});
|