Skip to content

Commit

Permalink
コード(文中)をコード(文字単位)にリネームする
Browse files Browse the repository at this point in the history
  • Loading branch information
inao committed Feb 27, 2020
1 parent dc1123a commit 4180301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Text/Md2Inao/Builder/InDesign.pm
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ case em => sub {

case code => sub {
my ($c, $h) = @_;
return sprintf "<CharStyle:コード(文中)>%s<CharStyle:>", $c->parse_element($h);
return sprintf "<CharStyle:コード(文字単位)>%s<CharStyle:>", $c->parse_element($h);
};

case p => sub {
Expand Down
2 changes: 1 addition & 1 deletion t/30_indesign_basic_syntax.t
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ _a-zA-Z0-9!"#$%&'()-=^@`[]{};+:*<>,./?_
--- in md2inao
これは`インラインのコード`です
--- expected
<ParaStyle:本文>これは<CharStyle:コード(文中)>インラインのコード<CharStyle:>です
<ParaStyle:本文>これは<CharStyle:コード(文字単位)>インラインのコード<CharStyle:>です
=== footnote
--- in md2inao
Expand Down
2 changes: 1 addition & 1 deletion t/33_indesign_escape_html.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This is not html &lt;code&gt;
This is not html `<code>`
--- expected
<SJIS-MAC>
<ParaStyle:本文>This is not html <CharStyle:コード(文中)><005C><code<005C>><CharStyle:>
<ParaStyle:本文>This is not html <CharStyle:コード(文字単位)><005C><code<005C>><CharStyle:>
=== list context
--- in md2inao
Expand Down

0 comments on commit 4180301

Please sign in to comment.