Skip to content

Cell with HYPERLINK formula should not emit manual link (optionally) #41

Description

@borgar

In Excel:

  1. Select a cell and ⌘K to add a link (set it to http://example.com/manually-created)
  2. Enter the following formula into the cell: =HYPERLINK("http://example.com/from-formula")

The cell will now show "http://example.com/from-formula".

When hovered or clicked, however, the the original "https://example.com/manually-created" URL will be used.

This isn't great from a security standpoint so we should offer an option to sanitize this.


How to clean this: When the cell has an l property, check if the formula has a call to HYPERLINK and discard the property.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions