mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
AS guide: documents where output safety is defined
This commit is contained in:
@@ -701,6 +701,8 @@ def raw(stringish)
|
||||
end
|
||||
</ruby>
|
||||
|
||||
NOTE: Defined in +active_support/core_ext/string/output_safety.rb+.
|
||||
|
||||
h4. +squish+
|
||||
|
||||
The method +String#squish+ strips leading and trailing whitespace, and substitutes runs of whitespace with a single space each:
|
||||
|
||||
Reference in New Issue
Block a user