On Sunday, February 10, 2019 at 3:44:51 AM UTC-5, fugee ohu wrote: > > 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> > > > Works after changing <pre> to <textarea>
-- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a07eb5b7-7fdd-4bf0-b57e-cae9de258180%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

