mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
25a080a8e1
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 |
||
---|---|---|
.. | ||
components | ||
controllers | ||
fabricators | ||
fixtures | ||
helpers | ||
integration | ||
integrity | ||
jobs | ||
mailers | ||
models | ||
phantom_js | ||
serializers | ||
services | ||
support | ||
views/omniauth_callbacks | ||
spec_helper.rb |