mozilla / sumo

Project management board for SUMO and Community properties.
Mozilla Public License 2.0
12 stars 5 forks source link

Wiki Link Syntax is ignored in SUMO Announcements (aka Banner) #112

Open rtanglao opened 5 years ago

rtanglao commented 5 years ago

Steps to reproduce:

  1. Add the following markup to an announcement:
An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your OS here: [https://www.mozilla.org/firefox/new/]

For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/en-US/kb/add-ons-failing-install-firefox

Expected Results

A link is created to https://www.mozilla.org/firefox/new/ in the announcement

Actual Results

The markup is ignored, instead of a link you see: [https://www.mozilla.org/firefox/new/]

mirunacurtean commented 3 years ago

Update. This issue still occurs, as verified in stage environment. image

etanot commented 3 years ago

Even HTML syntax is not working. I've following message in announcement page:

An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your <a href="https://www.mozilla.org/firefox/new/"> OS </a>.

For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/en-US/kb/add-ons-failing-install-firefox.

See I've used HTML syntax to show hyperlink, but I get,

SuMO-banner

That makes me wonder, how here word gets a hyperlink in first banner (see above comment). May be @mirunacurtean could help, what text have been used for first banner?

mirunacurtean commented 3 years ago

@finn0 The difference between the two banners is that the 'This is a staging site...' banner and the 'here' hyperlink are set directly as separate SUMO page elements while the 'test banner' is an announcement message being published over from the admin part of sumo. While the use of wiki or html syntax is permitted as part of the announcement's content, it gets ignored when the message is displayed on stage. I checked to make sure, and indeed the 'This is a staging site...' banner is not in the list of announcements created and deployed on stage. So the two banners have a different setup from the start and that's what makes the difference in showing the hyperlink.

akatsoulas commented 1 year ago

fixed in #1125

escattone commented 1 year ago

Re-opening, since we still need to fix Wiki syntax (which will be easy).