Skip to content

Commit

Permalink
Fix typo in hastily refactored method
Browse files Browse the repository at this point in the history
  • Loading branch information
theozaurus committed Jun 20, 2016
1 parent 1c75a01 commit 73b6a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/draftjs_exporter/html.rb
Expand Up @@ -90,7 +90,7 @@ def build_commands(block)
def build_inline_style_commands(inline_style_ranges)
inline_style_ranges.flat_map { |style|
data = style.fetch(:style)
start, stop = range_start_stop(entity)
start, stop = range_start_stop(style)
[
Command.new(:start_inline_style, start, data),
Command.new(:stop_inline_style, stop, data)
Expand Down

0 comments on commit 73b6a10

Please sign in to comment.