Skip to content

Commit

Permalink
support warigaki (割書)
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Mar 5, 2017
1 parent 148bdfc commit 455cffa
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 @@ -908,6 +908,9 @@ def exec_inline_start_command(command)
when "キャプション"
@style_stack.push([command,'</span>'])
push_chars('<span class="caption">')
when "割書"
@style_stack.push([command,'</span>'])
push_chars('<span class="warigaki">')
when "大見出し"
@style_stack.push([command,'</a></h3>'])
@terprip = false
Expand Down

0 comments on commit 455cffa

Please sign in to comment.