diff --git a/app/views/syllabuses/show.html.erb b/app/views/syllabuses/show.html.erb
index d3398234a..b6c32f125 100644
--- a/app/views/syllabuses/show.html.erb
+++ b/app/views/syllabuses/show.html.erb
@@ -5,6 +5,14 @@
$(function() {
sd_create_editor_from_data(<%= @syllabus.id %>, null, "100%", "<%= @syllabus.class.to_s %>");
showNormalImage('syllabus_description_<%= @syllabus.id %>');
+ $("#syllabus_description_<%= @syllabus.id%> p,#syllabus_description_<%= @syllabus.id%> span,#syllabus_description_<%= @syllabus.id%> em").each(function(){
+ var postContent = $(this).html();
+ postContent = postContent.replace(/ /g," ");
+ postContent= postContent.replace(/ {2}/g," ");
+ postContent=postContent.replace(/ /g," ");
+ postContent=postContent.replace(/ /g," ");
+ $(this).html(postContent);
+ });
autoUrl('syllabus_description_<%= @syllabus.id %>');
});