Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-446

Copy and paste of code snippets on JDF site resuls in extra text being copied.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • site
    • None

      When copying the code snippets from the site, additional text that is hidden is copied. This required cleaning up the code snippet after pasting it.

      For example, browse to http://www.jboss.org/jdf/examples/ticket-monster/tutorial/Introduction/#adding-a-new-entity-using-forge and copy one of the code snippet fragments on display. Additional text like

       - See more at: http://www.jboss.org/jdf/examples/ticket-monster/tutorial/Introduction/#sthash.fq5KV6a4.dpuf

      will get copied over. This seems to be some hidden text in the generated HTML or in the DOM. This occurs irrespective of the language in the code snippet - Java, SQL, JavaScript or FSH.

      This text seems to be inserted by the Sharethis.com widget on the page.

              rafabene_jira Rafael Benevides (Inactive)
              vineet.reynolds_jira Vineet Reynolds (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: