bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 571 forks source link

Html sanitized despite option sanitize:false when using display_as #520

Open joallard opened 8 years ago

joallard commented 8 years ago

Invocation:

best_in_place @team, :description,
    display_as: :description_html,
    sanitize: false

Actual output: sanitized html.

joallard commented 8 years ago

Got it using raw: true, but the misplaced expectation still needs to be addressed in the API/documentation imo.