fixed bug that deleted words before empty lines
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -13,3 +13,5 @@
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/log/*.log
|
||||
/tmp
|
||||
*.sublime-workspace
|
||||
*.sublime-project
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
<div class="editlink"><%= link_to "edit", edit_blogpost_comment_path(c.blogpost, c) %></div>
|
||||
<% end %>
|
||||
</span>
|
||||
<div class="comment-content"><%= h(c.content).gsub(/(\w*[\r\n]){3,}/, "\n\n").gsub("\n", "<br>").html_safe %></div>
|
||||
<div class="comment-content"><%= h(c.content).gsub(/[\r\n]{3,}/, "\n\n").gsub("\n", "<br>").html_safe %></div>
|
||||
</div>
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"folders":
|
||||
[
|
||||
{
|
||||
"follow_symlinks": true,
|
||||
"path": "/home/moo/redstoner/rails/site"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user