I'm trying to implement clipboard.js It works if i put a simple text string 
inside the <pre class="prettyprint" id='script-tag'>...</pre> containers 
but if I put the html shown below it copies only newline and whitespace 
characters to the clipboard
<pre class="prettyprint" id='script-tag'>
<a href=https://ignatzmouse.com/<%= current_user.name %>/page>
<image src=https://sn.com/follow-me-on-sn.png>
</a>
</pre>


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/c1f6a75f-a380-44af-a7fd-2fd2c12d7f18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to