aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string/output_safety.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Preserve html_safe? status on ActiveSupport::SafeBuffer#*r7kamura2019-04-191-0/+6
* Merge pull request #34405 from shugo/safe_buffer_backref_fixMatthew Draper2019-03-281-2/+37
|\
| * Eliminate a thread local variable as suggested by nobuShugo Maeda2019-02-141-8/+1
| * Remove trailing spaceShugo Maeda2018-11-081-1/+1
| * Add a commented code example of what will be producedShugo Maeda2018-11-081-22/+22
| * sub, sub!, gsub, and gsub! should set back referencesShugo Maeda2018-11-081-2/+44
* | support slice assignment on SafeBufferRichard Monette2019-03-131-2/+6
|/
* Handle more unsafe String methods (#33990)Janosch Müller2018-09-271-2/+15
* SafeBuffer should maintain safety upon getting a slice via a range if origina...Yumin Wong2018-08-311-3/+1
* Update incorrect backtick usage in RDoc to teletypeT.J. Schuck2017-11-221-1/+1
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-3/+3
* Remove obsolete documentation [ci skip]Max Felsher2017-10-191-3/+0
* Clarify intentions around method redefinitionsMatthew Draper2017-09-011-3/+3
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-2/+2
* :golf: else + if = elsifAkira Matsuda2017-01-171-10/+8
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-3/+3
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-7/+7
* Missing require 'active_support/multibyte/unicode'Akira Matsuda2016-07-121-0/+1
* s/responsibilty/responsibility/Vipul A M2016-03-221-1/+1
* drop array allocations on `html_safe`Aaron Patterson2016-02-081-1/+1
* Fix nodoc to internal class error document some of themVipul A M2016-01-251-0/+1
* Use CGI.escapeHTML for html escapeTakashi Kokubun2015-12-211-4/+2
* Merge pull request #19992 from greysteil/handle-invalid-utf8-in-html-escapeSean Griffin2015-10-201-2/+2
|\
| * Handle invalid UTF-8 strings when HTML escapingGrey Baker2015-06-081-2/+2
* | s/JQuery/jQuery/Akira Matsuda2015-09-181-1/+1
|/
* [ci skip] Add space after erb block.yui-knk2015-03-121-1/+1
* Properly dump primitive-like AS::SafeBuffer strings as YAMLGodfrey Chan2015-02-111-1/+1
* Merge pull request #14028 from uberllama/json_escape_commentsRafael Mendonça França2015-02-061-0/+5
|\
| * Amended json_escape comment to clarify that user-generated content must still...Yuval Kordov2014-02-121-0/+5
* | Remove deprecated `ActiveSupport::SafeBuffer#prepend`Rafael Mendonça França2015-01-041-6/+0
* | Just check if the buffer exists before changing itRafael Mendonça França2014-12-291-1/+3
* | When trying to access a character on a string buffer object via `:[]`, if the...Vipul A M2014-12-291-1/+3
* | Document `String#html_safe` [ci skip]Sean Griffin2014-11-241-0/+5
* | instance_eval is evilAkira Matsuda2014-10-251-1/+1
* | The hex escape sequence can be of any lengthGodfrey Chan2014-07-021-1/+1
* | Fix escape_once double-escaping hex-encoded entitiesJohn F. Douthat2014-07-021-1/+1
* | drastically reduce object allocationsAaron Patterson2014-06-021-6/+13
* | reduce AS::SafeBuffer allocationsAaron Patterson2014-06-021-1/+2
* | concat is a hotspot (via AV#append=), so just directly define the methodsAaron Patterson2014-06-021-4/+6
* | Move require to actual fileCarlos Antonio da Silva2014-04-021-0/+1
* | DRY AS::SafeBuffer a bit using existing helperPavel Pravosud2014-04-021-5/+1
* | Make AS::SafeBuffer#prepend act like String#prependPavel Pravosud2014-03-311-6/+13
|/
* Clarify behavior of json_escape, update examplesJon Jensen2014-01-091-12/+12
* Fixes interpolation on SafeBufferJulien Letessier2013-12-141-7/+12
* Review json_escape docs [ci skip]Carlos Antonio da Silva2013-12-041-22/+22
* Also move html_esacpe regex to a constant (see 9d25af60)Godfrey Chan2013-12-041-1/+2