Enable JavaScript toggle has inverted effect on repository pages config

Description

Steps to reproduce:

  • commit html page with javascript (e.g. using alert() call)

  • enable JavaScript globally, enable for repo

  • open page suing Pages url

Expected result: javascript page content is in place, if toggle is on rich content is allowed.
Actual result: rich content is sanitized, if toggle is off rich content is allowed.

Environment

None

Assignee

Alexey Remnev

Reporter

Alexey Remnev

Labels

None

Bitbucket URL

None

Sprint

None

Priority

Highest
Configure