- 04 12月, 2013 2 次提交
-
-
由 Mario Visic 提交于
-
由 Rafael Mendonça França 提交于
We are generating safe strings in the paragraph, so we can escape the tags
-
- 03 12月, 2013 1 次提交
-
-
由 Michael Koziarski 提交于
The previous behavior equated the sanitize option for simple_format with the escape option of content_tag, however these are two distinct concepts. This fixes CVE-2013-6416 Conflicts: actionview/lib/action_view/helpers/text_helper.rb
-
- 09 11月, 2013 1 次提交
-
-
由 pseidemann 提交于
-
- 06 9月, 2013 1 次提交
-
-
由 Paul Nikitochkin 提交于
* replaced String concatenation by joining * separator has default value to '', even it is nil
-
- 04 8月, 2013 1 次提交
-
-
由 Jan Szumiec 提交于
-
- 31 7月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 10 7月, 2013 1 次提交
-
-
由 Matt Bridges 提交于
-
- 20 6月, 2013 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 10 4月, 2013 1 次提交
-
-
由 RSL 提交于
-
- 06 4月, 2013 1 次提交
-
-
由 Carson McDonald 提交于
-
- 25 12月, 2012 1 次提交
-
-
由 Nihad Abbasov 提交于
-
- 29 10月, 2012 1 次提交
-
-
由 AvnerCohen 提交于
-
- 08 9月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Guirec Corbel 提交于
The separation option enable to keep entire words, lines or anything. To split by line, like github, we can set the separation option as \n. To split by word, like google, we can set the separation option as " ". The radius option represent the number of lines or words we want to have in the result. The default behaviour is the same. If we don't set the separation option, it split the text any where.
-
- 03 8月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 27 5月, 2012 3 次提交
-
-
由 Rafael Mendonça França 提交于
This options can be used to not escape the result by default.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Refactoring the truncate method to not do a sort-circuit return
-
- 26 5月, 2012 1 次提交
-
-
由 Li Ellis Gallardo 提交于
This way if my text is long I don't have to do something like this: .text = truncate(@text, :length => 27) if @text.size >= 27 = link_to "continue", notes_path, ....."")
-
- 19 5月, 2012 4 次提交
-
-
由 Francesco Rodriguez 提交于
-
由 Jeremy Walker 提交于
-
由 Avi Tzurel 提交于
Minor fix to the wrapper tag documentation, the options hash is the last one, added blank hash before that in the args list
-
由 Avi Tzurel 提交于
-
- 18 5月, 2012 1 次提交
-
-
由 Jeremy Walker 提交于
-
- 17 5月, 2012 2 次提交
-
-
由 Vijay Dev 提交于
-
由 Hendy Tanata 提交于
-
- 15 5月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 14 5月, 2012 2 次提交
-
-
由 Avi Tzurel 提交于
-
由 Avi Tzurel 提交于
using split_paragraphs method and content_tag instead of string concatination
-
- 09 5月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 02 5月, 2012 1 次提交
-
-
由 Alexey Vakhov 提交于
-
- 12 4月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 08 4月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 06 2月, 2012 1 次提交
-
-
由 Brian Cardarella 提交于
-
- 06 1月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 13 12月, 2011 1 次提交
-
-
由 Erik Michaels-Ober 提交于
Allow autoloading to work as intended and avoid multiple requires.
-
- 10 11月, 2011 1 次提交
-
-
由 Alexey Vakhov 提交于
-
- 14 8月, 2011 1 次提交
-
-
由 Casebook Developer 提交于
ActionView::Helpers::TextHelper#simple_format should not change the text in place. Now it duplicates it.
-
- 05 8月, 2011 1 次提交
-
-
由 Casebook Developer 提交于
ActionView::Helpers::TextHelper#simple_format should not change the text in place. Now it duplicates it.
-