docbrown/app/views/liquids/_dotnetfiddle.html.erb
Shubhankar Kanchan Gupta a60c923539
new liquid tag - dotnetfiddle (#10788)
* 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>
2020-10-16 14:47:52 -04:00

6 lines
97 B
Text

<iframe
src="<%= link %>"
width="100%"
height="<%= height %>"
frameborder="0">
</iframe>