Skip to content

Commit

Permalink
add output for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Mar 5, 2017
1 parent 455cffa commit fcd26a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/t2hs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,9 @@ def exec_inline_start_command(command)
@style_stack.push([command,"</#{found[1]}>"])
push_chars("<#{found[1]} class=\"#{filter.call(found[0])}\">")
else
if $DEBUG
puts "警告(#{line_number}行目):「#{key}」は未対応のコマンドのため無視します"
end
nil
end
end
Expand Down

0 comments on commit fcd26a9

Please sign in to comment.