discourse/app/assets/javascripts
Régis Hanol 5213bba672
FIX: support [code] in blockquotes (#26182)
> [code]
> line1
> line2
> [/code]

would render as

| line1
| > line2

instead of the correct

| line1
| line2

That was due to the `bbcode-block` code using a `slice` to get the content of a block and not taking into account it being nested in a quote block for example.

The fix was to get the content using the `getLines` utils method.

Context: https://meta.discourse.org/t/markdown-bbcode-code-quote-bug/299047
2024-03-14 19:31:22 +01:00
..
admin FIX: improvements for the admin sidebar (#26168) 2024-03-14 15:01:47 +11:00
bootstrap-json Build(deps-dev): Bump html-entities from 2.4.0 to 2.5.2 (#26021) 2024-03-05 22:56:43 +01:00
deprecation-silencer DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
dialog-holder DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
discourse FIX: support [code] in blockquotes (#26182) 2024-03-14 19:31:22 +01:00
discourse-common Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
discourse-hbr Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
discourse-i18n DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
discourse-markdown-it FIX: support [code] in blockquotes (#26182) 2024-03-14 19:31:22 +01:00
discourse-plugins Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
discourse-widget-hbs DEV: Fix glimmer node deprecations (#26124) 2024-03-11 13:10:05 +01:00
docs DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
ember-addons DEV: Remove ember-addons (#9559) 2020-04-28 10:14:49 -04:00
ember-cli-progress-ci DEV: Add progress output in CI during ember-cli build (#17977) 2022-08-17 22:39:52 +01:00
ember-production-deprecations DEV: Add production-mode shim for Em deprecation (#25109) 2024-01-03 10:39:59 +00:00
float-kit Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
locales DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
pretty-text Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
select-kit FEATURE: Improve "+ subcategories" option (#26086) 2024-03-07 20:46:45 +02:00
theme-transpiler Build(deps): Bump terser from 5.28.1 to 5.29.1 (#26067) 2024-03-07 01:05:32 +01:00
truth-helpers DEV: Convert truth-helpers to a v2 addon and simplify imports (#26029) 2024-03-05 15:24:47 +00:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
handlebars-shim.js FIX: It seems sometimes shims are evaluated by older JS engines (#11813) 2021-01-22 10:41:01 -05:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
run-patch-package DEV: Automatically retry patch-package on failure (#23583) 2023-09-14 12:25:06 +01:00
service-worker.js.erb FIX: Service worker push notifications when cache disabled (#25610) 2024-02-08 11:55:32 +00:00