diff --git a/app/views/bids/_bid_homework_show.html.erb b/app/views/bids/_bid_homework_show.html.erb
index 7578965b5..9e086ef1b 100644
--- a/app/views/bids/_bid_homework_show.html.erb
+++ b/app/views/bids/_bid_homework_show.html.erb
@@ -165,7 +165,7 @@
- <%= bid.description %>
+ <%=h sanitize(bid.description.html_safe) %>
|
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 8413b3c54..c4be244fa 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -131,7 +131,7 @@ a:hover.more{ color:#64bdd9;}
.problem_search_btn:hover{ background:#3da1c1; border:1px solid #3da1c1;}
.problem_new_btn{ margin-left:10px; border:1px solid #ff7143; color:#ff7143 !important; width:60px; height:19px; font-size:12px; text-align:center; padding-top:4px;margin-top:-2px;}
.problem_new_btn:hover{ background:#ff7143; color:#fff !important;}
-.problem_p{ color:#535252; margin-top:5px;}
+.problem_p{ color:#535252; margin-top:5px;padding-right:15px;}
.problem_p span{ color:#ff3e00;}
.problem_pic{ display:block; width:42px; height:42px; padding:3px; border:1px solid #e3e3e3; margin-top:5px;}
.problem_pic:hover{border:1px solid #64bdd9;}