Skip to content

Commit

Permalink
法人略記号への変換とテストを追加した
Browse files Browse the repository at this point in the history
  • Loading branch information
inao committed Apr 2, 2015
1 parent 29e0807 commit 504f2d7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
21 changes: 20 additions & 1 deletion config/id_filter.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,27 @@

"◆WDB◆" : "<cstyle:ストッパ>#<cstyle:>",

"㈱" : "<3231>",
"㈱" : "<3231>",
"(株)" : "<3231>",
"㈲" : "<3232>",
"(有)" : "<3232>",
"㈳" : "<3233>",
"(社)" : "<3233>",
"㈴" : "<3234>",
"(名)" : "<3234>",
"㈵" : "<3235>",
"(特)" : "<3235>",
"㈶" : "<3236>",
"(財)" : "<3236>",
"㈻" : "<323B>",
"(学)" : "<323B>",
"㈼" : "<323C>",
"(監)" : "<323C>",
"㈾" : "<323E>",
"(資)" : "<323E>",
"㈿" : "<323F>",
"(協)" : "<323F>",

"✓" : "<ct:Regular><cf:Zapf Dingbats><2713><ct:><cf:>",
"✖" : "<ct:Regular><cf:Zapf Dingbats><2716><ct:><cf:>",
"\\" : "<005C><005C>",
Expand Down
6 changes: 6 additions & 0 deletions t/32_indesign_free_replacer.t
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,9 @@ __END__
--- expected
<ParaStyle:本文><301C>
=== fullwidth tilde to wave dash
--- in md2inao
(株)(有)(社)(名)(特)(財)(学)(監)(資)(協)㈱㈲㈳㈴㈵㈶㈻㈼㈾㈿
--- expected
<ParaStyle:本文><3231><3232><3233><3234><3235><3236><323B><323C><323E><323F><3231><3232><3233><3234><3235><3236><323B><323C><323E><323F>

0 comments on commit 504f2d7

Please sign in to comment.