discourse/app/assets/javascripts
Sam fd4aea7bc5
FIX: bbcode URLs not handling paths correctly (#21215)
Due to the order we were parsing markdown, bbcode [url] elements were not
handled properly.

`[url]https://example.com/path[/url]` was not currectly parsing cause
linkify was detecting the url as: `https://example.com/path[/url]` which is
legit.

To resolve this I swapped url to use a replace rule, and instead re-parsed
the internal payload and injected the tokens in.

This fix is complex cause we support stuff like

`[url][b]test.com[/b][/url]`

So we need to parse the content inside url `[b]test.com[/b]`
2023-04-25 11:28:32 +10:00
..
admin DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
bootstrap-json Build(deps): Bump node-fetch from 3.3.0 to 3.3.1 in /app/assets/javascripts (#20655) 2023-03-13 08:45:43 +08:00
confirm-new-email
dialog-holder DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse FIX: bbcode URLs not handling paths correctly (#21215) 2023-04-25 11:28:32 +10:00
discourse-common DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse-hbr DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse-plugins DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
discourse-widget-hbs DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Include ember deprecation messages in production builds (#20587) 2023-03-10 10:37:28 +00:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
pretty-text FIX: bbcode URLs not handling paths correctly (#21215) 2023-04-25 11:28:32 +10:00
select-kit DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
truth-helpers DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
wizard DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
.licensee.json Revert "DEV: Merge package.json files (#21172)" (#21182) 2023-04-20 14:57:40 +02:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json Revert "DEV: Merge package.json files (#21172)" (#21182) 2023-04-20 14:57:40 +02:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FEATURE: Enable service worker for Apple devices (#19643) 2023-01-30 13:23:19 -03:00
yarn.lock Build(deps): Bump eslint in /app/assets/javascripts (#21213) 2023-04-24 11:19:57 +02:00