<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Slim</anon>
  </categories>
  <description>Slim テンプレートでの変数の出力の方法は、こんな感じに=で出力することができます。 div p= @value 文章中や、属性中に変数展開させる場合は#{変数名}で出力します。 p a.btn src=&quot;edit/#{@id}&quot; 編集 しかし、上記の方法ではHTMLタグや&quot;などを含んだ文字列を出力しようとするとエスケープされたものが出力されてしまいます。自動的にエスケープしてくれるので便利なのですが、改行がある文章をそのまま出力したいなどといった場合には不都合があります。 EX: @value = '&lt;b&gt;&quot;タグ&quot;を含んだテキスト。&lt;/b&gt;' p= @value p 文章中に変数展開「#{…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2017%2F01%2F26%2F183354&quot; title=&quot;Ruby Slim タグなどを含んだ変数をエスケープせずに出力したい。 - かもメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/41CGDEMgyoL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-01-26 18:33:54</published>
  <title>Ruby Slim タグなどを含んだ変数をエスケープせずに出力したい。</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2017/01/26/183354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
