Commit d352ebb0 by Awais Committed by Awais Qureshi

Fixing bug related with copy/paste.

Copy to clipboard doesn't maintain formatting.

ECOM-7864
parent b8d2438a
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<script> <script>
new Clipboard(".btn-copy", { new Clipboard(".btn-copy", {
text: function(trigger) { text: function(trigger) {
return $(trigger).parent().next('.copy').text().trim(); return $(trigger).parent().next('.copy').html().trim();
} }
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment