From da2ea47a94de1bc75d6eb6a10b7a2cc3b24a65aa Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sun, 6 Sep 2020 23:59:07 -0600 Subject: use color attribute on font tag instead of color tag in psuedo-HTML and drop color tag --- spec/formatted_text_transform_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/formatted_text_transform_spec.rb b/spec/formatted_text_transform_spec.rb index ba0e31cc..8a998003 100644 --- a/spec/formatted_text_transform_spec.rb +++ b/spec/formatted_text_transform_spec.rb @@ -82,7 +82,7 @@ describe Asciidoctor::PDF::FormattedText::Transform do end it 'should create fragment with custom hex color' do - input = 'red' + input = 'red' parsed = parser.parse input fragments = subject.apply parsed.content (expect fragments).to have_size 1 @@ -91,7 +91,7 @@ describe Asciidoctor::PDF::FormattedText::Transform do end it 'should create fragment with custom cmyk color' do - input = 'color' + input = 'color' parsed = parser.parse input fragments = subject.apply parsed.content (expect fragments).to have_size 1 -- cgit v1.2.3