canonical / canonicalwebteam.discourse

GNU Lesser General Public License v3.0
11 stars 16 forks source link

[Takeovers] Linked text causes errors in takeover URL data #182

Open bartaz opened 11 months ago

bartaz commented 11 months ago

When you paste a link to discourse it will automatically try to replace it with a text (page title) linked to pasted URL.

This causes an issue if used in takeover data (like secondary_url) because it seems to expect URL as plain text.

It would be helpful if parser was smart enough to read URL from linked text (and not use text itself as link).

See related issue for context: https://github.com/canonical/ubuntu.com/issues/13374