Closed atstockland closed 3 years ago
Hey @atstockland, thanks for using Prawn::Icon
!
There's no need to use Prawn's text
method directly for inline-formatted icons.
This snippet should work:
icon 'Test: <icon size="6">fas-helicopter</icon>', size: 9, color: '555555', inline_format: true
Thanks! I misread the docs. That works great.
If I use
I get
Test: #Prawn::Icon:0x00007fba4a9b68e0>
the expected outcome is
Test:
Am I using this incorrectly or is string interpolation not supported?