Skip to content

No simple way to bypass formatting #22

Description

@jhheider

Needed a quick way stop URL markup from being munged on post. Slack accepts <http://foo.bar|Text Description>, but chat.postMessage always calls Commander::format() for the text block. Simple change to line 465 fixes it:

-        if (isset($command['format']))
+        if (isset($command['format']) and !isset($parameters['no_format']))

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions