This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/unit
Jarek Radosz d065ec0f7b
FIX: Correctly handle nested quotes in to-markdown (#16938)
Given this html:

```
<aside class="quote no-group">
  <blockquote>
    <aside class="quote no-group">
      <blockquote>
        <p dir="ltr">test</p>
      </blockquote>
    </aside>
    <p dir="ltr">test2</p>
  </blockquote>
</aside>
```

The result was an invalid markdown:

```
[quote]
[quote]
> test
> [/quote]
>
>
>
> test2
[/quote]
```

Now the result is:

```
[quote]
[quote]
test
[/quote]

test2
[/quote]
```
2022-05-27 22:05:43 +02:00
..
controllers DEV: Unflak-ify tests and make them more robust (#16659) 2022-05-06 11:53:23 +08:00
ember DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
lib FIX: Correctly handle nested quotes in to-markdown (#16938) 2022-05-27 22:05:43 +02:00
mixins DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
models DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
services FEATURE: cache last post number (#15772) 2022-02-10 13:09:28 +11:00
utils DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
localization-test.js FIX: Translation overrides from fallback locale didn't work on client 2021-12-17 14:03:35 +01:00