|
@@ -93,6 +93,7 @@ func (this *ArticleController) Detail() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
detail.Body = html.UnescapeString(detail.Body)
|
|
detail.Body = html.UnescapeString(detail.Body)
|
|
|
|
+ detail.Body = strings.Replace(detail.Body, "pre", "div", -1)
|
|
//detail.Abstract = html.UnescapeString(detail.Abstract)
|
|
//detail.Abstract = html.UnescapeString(detail.Abstract)
|
|
detail.Abstract, _ = services.GetReportContentTextSub(detail.Abstract)
|
|
detail.Abstract, _ = services.GetReportContentTextSub(detail.Abstract)
|
|
if companyPermission == "" {
|
|
if companyPermission == "" {
|