Skip to content

Commit

Permalink
Fixed bug where content wasn't properly uri encoded before sending to…
Browse files Browse the repository at this point in the history
… server.
  • Loading branch information
jeffmcfadden committed Aug 5, 2011
1 parent b52e9e2 commit 1a13c75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
$.ajax({
type: 'POST',
url: '/markdown_preview/convert',
data: 'format=json&markdown_text=' + editor_content,
data: { 'format' : 'json', 'markdown_text' : editor_content },
success: function( data, textStatus, jqXHR ){
preview.html( data['html'] );
},
Expand Down
2 changes: 1 addition & 1 deletion markdown_preview.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'markdown_preview'
s.version = '0.1.3'
s.version = '0.1.4'
s.authors = ["Jeff McFadden"]
s.email = "jeff.mcfadden@gmail.com"
s.homepage = "http://github.com/jeffmcfadden/markdown_preview"
Expand Down

0 comments on commit 1a13c75

Please sign in to comment.