Skip to content

Commit

Permalink
no italics for Japanese: metanorma/mn-samples-jis#26
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jul 21, 2024
1 parent cebf2e3 commit 02ae9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/i18n_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@

it "renders incollection, two authors, with Japanese internationalisation" do
output = <<~OUTPUT
<formattedref>RAMSEY, J. K. と W. C. MCGREW. Object play in great apes: Studies in nature and captivity. PELLEGRINI, Anthony D. と Peter Kenneth SMITH (編): <em>The nature of play: Great apes and humans</em> [electronic resource, 8vo]. 第3 edition. New York, NY: Guilford Press. 2005. ページ89–112. <link target='https://eprints.soton.ac.uk/338791/'>https://eprints.soton.ac.uk/338791/</link>. [見た: 2019年9月3日].</formattedref>
<formattedref>RAMSEY, J. K. と W. C. MCGREW. Object play in great apes: Studies in nature and captivity. PELLEGRINI, Anthony D. と Peter Kenneth SMITH (編): The nature of play: Great apes and humans [electronic resource, 8vo]. 第3 edition. New York, NY: Guilford Press. 2005. ページ89–112. <link target='https://eprints.soton.ac.uk/338791/'>https://eprints.soton.ac.uk/338791/</link>. [見た: 2019年9月3日].</formattedref>
OUTPUT
p = Relaton::Render::General.new(language: "ja")
expect(HTMLEntities.new.decode(p.render(input)))
Expand Down

0 comments on commit 02ae9ef

Please sign in to comment.