Fix typography replacements with embeds

Enable embedded icons tests again
This commit is contained in:
Andy Meneely
2015-04-07 12:20:40 -04:00
parent a5d1cb60f2
commit 211e7c13b3
3 changed files with 258 additions and 57 deletions
+2 -1
View File
@@ -155,7 +155,8 @@ module Squib
layout.font_description = font_desc
layout.text = str
if markup
layout.markup = Args::Typographer.new(@deck.config).process(layout.text)
str = Args::Typographer.new(@deck.config).process(layout.text)
layout.markup = str
end
set_wh!(layout, width, height)