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
Vikhyat Korrapati 25a080a8e1 Fix HTML tags in topic titles.
We no longer sanitize titles before saving to the database since it
would cause problems like HTML entities showing up when you try to edit
a topic title. It isn't even really necessary since we only render
fancy_title directly and never title.

The escaping logic used here is the same that is used both in lodash and
onebox. See:

1. https://github.com/discourse/onebox/pull/190/files
2. https://github.com/lodash/lodash/blob/2.4.1/dist/lodash.compat.js#L6194
2014-04-18 10:47:00 +05:30
..
components Use query params for sortable table headings 2014-04-17 10:52:57 -04:00
controllers Use query params for sortable table headings 2014-04-17 10:52:57 -04:00
dialects Remove Zalgo API from Discourse.Mention: 2014-04-14 16:51:18 -04:00
ember FEATURE: allow plugins to overwrite handlebars templates 2013-12-31 16:43:29 +01:00
helpers Fix HTML tags in topic titles. 2014-04-18 10:47:00 +05:30
initializers Tweak live reload due to CSS bundling in dev 2014-04-14 15:58:52 +10:00
lib Use query params for sortable table headings 2014-04-17 10:52:57 -04:00
mixins Allow changing ownwership of posts by admins 2014-04-08 01:47:42 -07:00
models Use query params for sortable table headings 2014-04-17 10:52:57 -04:00
routes Use query params for sortable table headings 2014-04-17 10:52:57 -04:00
templates Use query params for sortable table headings 2014-04-17 10:52:57 -04:00
views Use query params for sortable table headings 2014-04-17 10:52:57 -04:00