Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-3273

Issue link renderer is too eager and will try to render color hashes (BB-3038)

    XMLWordPrintable

Details

    Description

      I pasted a small clip of CSS into an issue tracker comment, inside a block level {{{}}} code block. It displays a hex colour code like so: {{

      {# 99ab50}

      }} (no space) appears as {{

      {<<issue 99>>ab50}

      }}, even though it is inside a no-format block.

      On editing the comment, I discovered that it is still stored as I typed it, therefore the conversion to {{

      {<<issue 99>>}

      }} must happen on rendering.

      EDIT: it obviously happens on inline no-format blocks as well (but doesn't occur in the preview box before posting).

      Attachments

        Activity

          People

            Unassigned Unassigned
            e9407a274638 gordonmleigh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: