Commit f9044ff4c42d5b316b8e8a8ebdbf33e1d5051595:
fix syntax error
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
www/test/icla/views/markdown.js.rb | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/test/icla/views/markdown.js.rb
b/www/test/icla/views/markdown.js.rb
index d48bcb6..859e791 100644
--- a/www/test/icla/views/markdown.js.rb
+++ b/www/test/icla/views/markdown.js.rb
@@ -23,7 +23,7 @@ def componentWillReceiveProps()
if indent > 0
spaces = Array.new(indent+1).join(' ')
- text = text.replace("^#{spaces}", 'g'), '')
+ text = text.replace(new Regexp("^#{spaces}", 'g'), '')
end
end