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
Joffrey JAFFEUX 683cb28099
DEV: enforces ember-template-lint: no-triple-curlies (#9165)
This pr replaces `{{{ }}}` usage by a {{html-safe}} helper. While it doesn't solve the underlying issue, it gives us a path forward without risking breaking too much existing behavior.

Also introduces an htmlSafe computed macro:

```
import { htmlSafe } from "discourse/lib/computed";

htmlDescription: htmlSafe("description")
```

Overtime {{html-safe}} usage should be removed and moved to components properties or specialized components/helpers.
2020-03-11 09:23:10 +01:00
..
adapters FIX: Use new tag routes (#8683) 2020-01-21 19:23:08 +02:00
components DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
controllers DEV: Replace save-button partial with a component (#9066) 2020-03-10 09:37:54 -04:00
helpers DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
initializers Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
lib DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
mixins DEV: Replace save-button partial with a component (#9066) 2020-03-10 09:37:54 -04:00
models Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
pre-initializers DEV: Clean up Ember imports (#8979) 2020-03-06 23:49:28 +01:00
raw-views DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
routes Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
services Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
templates DEV: enforces ember-template-lint: no-triple-curlies (#9165) 2020-03-11 09:23:10 +01:00
widgets Merge imports from the same module (#9144) 2020-03-09 17:38:37 +01:00
mapping-router.js.es6 DEV: Clean up Ember imports (#8979) 2020-03-06 23:49:28 +01:00