Skip to content

When copying code from docs, not all text is copied #14563

@ericfowler303

Description

@ericfowler303

Steps to Reproduce

  1. Visit: https://docs.sentry.io/platforms/apple/guides/ios/dsym/
  2. Check the box for "Source Context", which adds the arguments to the code examples.
  3. In the "Xcode Build Phase" section, there is a code example window. Click the 'copy button' in the top right corner of the code example window.
  4. Paste that directly into a text editor (Notepad/Sublime Text)

Expected Result

In the pasted text, the "include sources" argument should have two dashes as displayed in the webpage:
--include-sources

Actual Result

This is how that portion comes out in a text editor:
-include-sources

Additional Info

By this (--) double dash not being copied correctly, the build process will fail with an error message. Something should be fixed with this copying functionality to ensure that the (--) dash is preserved for the paste operation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions