Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up excerpt separator logic a bit | Carlos Antonio da Silva | 2012-09-08 | 1 | -17/+11 |
| | |||||
* | Add a separation option for the excerpt function | Guirec Corbel | 2012-09-08 | 1 | -11/+49 |
| | | | | | | | | | | 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. | ||||
* | load active_support/core_ext/object/blank in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 |
| | |||||
* | Add `:escape` option for `truncate` | Rafael Mendonça França | 2012-05-26 | 1 | -2/+5 |
| | | | | This options can be used to not escape the result by default. | ||||
* | Update the documentation and add CHANGELOG entry | Rafael Mendonça França | 2012-05-26 | 1 | -3/+3 |
| | |||||
* | Test that the block used in truncate is escaped if it is not HTML safe | Rafael Mendonça França | 2012-05-26 | 1 | -13/+12 |
| | | | | Refactoring the truncate method to not do a sort-circuit return | ||||
* | Truncate now has the ability to receive a html option that allows it to call ↵ | Li Ellis Gallardo | 2012-05-26 | 1 | -2/+12 |
| | | | | | | | | | | | | rails helpers. 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, ....."") | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-19 | 1 | -1/+4 |
|\ | |||||
| * | minor fix wrapper tag documentation | Francesco Rodriguez | 2012-05-18 | 1 | -1/+1 |
| | | |||||
| * | Minor fix to the wrapper tag documentation, the options hash is the last ↵ | Avi Tzurel | 2012-05-19 | 1 | -1/+1 |
| | | | | | | | | one, added blank hash before that in the args list | ||||
| * | Added wrapper tag documentation to the simple_format method | Avi Tzurel | 2012-05-19 | 1 | -1/+4 |
| | | |||||
* | | Tidied and standardised text_helper implementations. | Jeremy Walker | 2012-05-19 | 1 | -14/+20 |
| | | |||||
* | | Removed old text_helper apis for highlight, excerpt and word_wrap | Jeremy Walker | 2012-05-17 | 1 | -35/+3 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-17 | 1 | -3/+5 |
|\ | | | | | | | | | Conflicts: activerecord/lib/active_record/core.rb | ||||
| * | fix word_wrap eg output [ci skip] | Vijay Dev | 2012-05-17 | 1 | -1/+3 |
| | | |||||
| * | Fix code example for word_wrap helper. | Hendy Tanata | 2012-05-17 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #6273 from KensoDev/feature/simple_format_refactoring | Rafael Mendonça França | 2012-05-15 | 1 | -9/+19 |
|\ \ | |/ |/| | Feature/simple format refactoring | ||||
| * | Added the wrapper tag option to simple_format | Avi Tzurel | 2012-05-14 | 1 | -2/+4 |
| | | |||||
| * | simple_format refactoring | Avi Tzurel | 2012-05-14 | 1 | -9/+17 |
| | | | | | | | | | | using split_paragraphs method and content_tag instead of string concatination | ||||
* | | Removing ==Examples and last blank lines of docs from actionpack | Francesco Rodriguez | 2012-05-15 | 1 | -11/+0 |
|/ | |||||
* | fix a couple of formatting issues [ci skip] | Vijay Dev | 2012-05-09 | 1 | -2/+4 |
| | |||||
* | Fix example url in text helper | Alexey Vakhov | 2012-05-02 | 1 | -1/+1 |
| | |||||
* | don't duplicate default values in text helper | Sergey Nartimov | 2012-04-11 | 1 | -12/+13 |
| | |||||
* | use extract_options! in cycle helper | Sergey Nartimov | 2012-04-07 | 1 | -6/+4 |
| | |||||
* | Highlight defaults to HTML5 `mark` element | Brian Cardarella | 2012-02-05 | 1 | -4/+4 |
| | |||||
* | remove useless call to mb_chars | Sergey Nartimov | 2012-01-05 | 1 | -4/+4 |
| | |||||
* | Include TagHelper but don't explicitly require it | Erik Michaels-Ober | 2011-12-12 | 1 | -1/+1 |
| | | | | Allow autoloading to work as intended and avoid multiple requires. | ||||
* | Fix and simplify highlight regexp | Alexey Vakhov | 2011-11-10 | 1 | -1/+1 |
| | |||||
* | ActionView::Helpers::TextHelper#simple_format should not change the text in ↵ | Casebook Developer | 2011-08-04 | 1 | -1/+1 |
| | | | | place. Now it duplicates it. | ||||
* | Do not change a frozen text passed to simple_format text helper | Tadas Tamosauskas | 2011-06-20 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-18 | 1 | -1/+1 |
|\ | |||||
| * | cycle: make an odd number be marked as odd. | Robert Massaioli | 2011-06-13 | 1 | -1/+1 |
| | | | | | | | | Just a minor issue that was annoying me so I thought that I would jump in and fix it. | ||||
* | | Use html_safe | Santiago Pastorino | 2011-06-16 | 1 | -2/+2 |
|/ | |||||
* | Don't operate on the safebuffer, operate on a string and convert. | Christopher Meiklejohn | 2011-06-07 | 1 | -1/+2 |
| | |||||
* | Remove extra white spaces on ActionPack docs. | Sebastian Martinez | 2011-05-23 | 1 | -2/+2 |
| | |||||
* | removing auto_link and moving it to the rails_autolink gem. :bomb: | Aaron Patterson | 2011-05-02 | 1 | -125/+0 |
| | |||||
* | Removing incorrect example results | Matt Duncan | 2011-04-15 | 1 | -2/+2 |
| | |||||
* | Fix syntax error in example | Matt Duncan | 2011-04-15 | 1 | -1/+1 |
| | |||||
* | do not return html safe strings from auto_link | Aaron Patterson | 2011-04-05 | 1 | -2/+2 |
| | |||||
* | Added RDoc info for accepted options for simple_format in TextHelper. | Steve Schwartz | 2011-02-15 | 1 | -0/+7 |
| | |||||
* | auto_link: avoid recognizing full width chars as a part of URI scheme | Akira Matsuda | 2011-02-01 | 1 | -1/+1 |
| | | | | | | | | fixes regression by http://github.com/rails/rails/commit/133ada6ab0f0cb7bef2bd40dbc18f2d5bc6b964e [#5503 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add a note to TextHelpers making explicit their default behavior of not ↵ | José Valim | 2010-11-08 | 1 | -0/+18 |
| | | | | escaping but sanitizing. | ||||
* | avoid a few comparisons | Aaron Patterson | 2010-10-18 | 1 | -3/+3 |
| | |||||
* | remove strange else block | Aaron Patterson | 2010-10-18 | 1 | -9/+7 |
| | |||||
* | skip extra work if no text or phrase was provided | Aaron Patterson | 2010-10-18 | 1 | -12/+11 |
| | |||||
* | another case of extra nil? check | Neeraj Singh | 2010-09-30 | 1 | -1/+1 |
| | |||||
* | Changed documentation for auto_link so that the truncate example works ↵ | Kevin Hughes | 2010-09-24 | 1 | -1/+1 |
| | | | | | | [#5694 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Concernify SanitizeHelper and TextHelper so including TextHelper correctly ↵ | wycats | 2010-08-04 | 1 | -0/+3 |
| | | | | include SanitizeHelper and extends its ClassMethods | ||||
* | Removed deprecated APIs in text and number helpers [#5156 state:resolved] | Łukasz Strzałkowski | 2010-07-26 | 1 | -20/+1 |
| | | | | | | They're deprecated since 2008. It's time to get rid of them. Signed-off-by: José Valim <jose.valim@gmail.com> |