* new liquid tag - dotnetfiddle * 1. Moved the hack into controller 2. Use URI to check if Widget keyword doesn't exist, then insert Widget using URI * 1. Fixed tests 2. Updated code to eliminate xss_attacks * Update app/liquid_tags/dotnet_fiddle_tag.rb to match pr comment Co-authored-by: Michael Kohl <me@citizen428.net> Co-authored-by: Michael Kohl <me@citizen428.net>
6 lines
97 B
Text
6 lines
97 B
Text
<iframe
|
|
src="<%= link %>"
|
|
width="100%"
|
|
height="<%= height %>"
|
|
frameborder="0">
|
|
</iframe>
|